summaryrefslogtreecommitdiff
path: root/bin/ksh/siglist.sh
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-06-18 22:42:50 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-06-18 22:42:50 +0000
commitc8708ed93617f5d278f4f7faf294a6e7c57227df (patch)
tree83832809b6ff198d789d720827ee338c50df8b37 /bin/ksh/siglist.sh
parente37d7f641aedb36d7e29530bb5d9c2fe398d1407 (diff)
(foo *)0 -> NULL
Diffstat (limited to 'bin/ksh/siglist.sh')
-rw-r--r--bin/ksh/siglist.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/siglist.sh b/bin/ksh/siglist.sh
index 135e920d637..06cd14bbdb2 100644
--- a/bin/ksh/siglist.sh
+++ b/bin/ksh/siglist.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: siglist.sh,v 1.2 1996/10/01 02:05:48 downsj Exp $
+# $OpenBSD: siglist.sh,v 1.3 1997/06/18 22:42:44 kstailey Exp $
#
# Script to generate a sorted, complete list of signals, suitable
@@ -32,7 +32,7 @@ sed -n 's/{ QwErTy/{/p' < $out | awk '{print NR, $0}' | sort +2n +0n |
n = $2;
if (n > 0 && n != last) {
while (++last < n) {
- printf "\t{ %d , (char *) 0, `Signal %d` } ,\n", last, last;
+ printf "\t{ %d , NULL, `Signal %d` } ,\n", last, last;
}
print;
}