summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-14 03:11:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-14 03:11:02 +0000
commit1fd023d3aba9d5ae55383a5792fe56d7e2217c43 (patch)
tree2e8c3a8e9f1da222adac140ccf531855c9e4a1a4 /gnu/usr.bin
parent3ed907e7452232a1855238d36b9989eec46fcba7 (diff)
exit 1, not count, because if count > 127... or if count == 255+1
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/ld/ldd/ldd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/ldd/ldd.c b/gnu/usr.bin/ld/ldd/ldd.c
index 88756fd1958..3ae0b8dd5c9 100644
--- a/gnu/usr.bin/ld/ldd/ldd.c
+++ b/gnu/usr.bin/ld/ldd/ldd.c
@@ -151,5 +151,5 @@ char *argv[];
argv++;
}
- return rval;
+ return (rval ? 1 : 0);
}