sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 86d12bf0bfcf32ca68def13475c53dbe8dba45a9
parent 7a73da6864a5f3c382b38d80ae590bb0fc85fcd0
Author: sin <sin@2f30.org>
Date:   Fri, 17 Oct 2014 15:38:40 +0100

Style fix for link(1)

Diffstat:
Mlink.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/link.c b/link.c @@ -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; }