Style fix for link(1)

This commit is contained in:
sin 2014-10-17 15:38:40 +01:00
parent 7a73da6864
commit 86d12bf0bf

2
link.c
View File

@ -11,7 +11,7 @@ main(int argc, char *argv[])
if(argc != 3)
eprintf("usage: %s target linkname\n", argv0);
if (0 != link(argv[1], argv[2]))
if (link(argv[1], argv[2]) < 0)
eprintf("link:");
return 0;
}