commit aee8535a71525195e92478f69511cec4e749d97c
parent 23d1dc6a5578bc03924ec0826c1742bcd9ce2494
Author: sin <sin@2f30.org>
Date: Tue, 11 Nov 2014 15:55:19 +0000
Fix outdated comments
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kill.c b/kill.c
@@ -52,7 +52,7 @@ main(int argc, char *argv[])
argc--;
argv++;
} else if (argv[0][0] == '-' && isdigit(argv[0][1])) {
- /* handle XSI extension -signal_number */
+ /* handle XSI extension -signum */
errno = 0;
sig = strtol(&argv[0][1], &end, 0);
if (*end != '\0' || errno != 0)
@@ -95,7 +95,7 @@ main(int argc, char *argv[])
usage();
name = argv[0];
} else {
- /* assume XSI extension -signal_name */
+ /* assume XSI extension -signame */
name = &argv[0][1];
}
if (strcmp(name, "0") == 0) {