[hackers] [sbase] Style fix for link(1) || sin
commit 86d12bf0bfcf32ca68def13475c53dbe8dba45a9
Author: sin <sin_AT_2f30.org>
Date: Fri Oct 17 15:38:40 2014 +0100
Style fix for link(1)
diff --git a/link.c b/link.c
index 1b59ad8..e9e9893 100644
--- a/link.c
+++ b/link.c
_AT_@ -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;
}
Received on Fri Oct 17 2014 - 16:39:45 CEST
This archive was generated by hypermail 2.3.0
: Fri Oct 17 2014 - 16:48:22 CEST