diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 12:49:22 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 12:49:22 +0000 |
commit | 1385899416a4396385ad421ae1f532be7103738a (patch) | |
tree | fc4d14a910593d1235318bb36abe5e9f72d2039e /util-linux/ipcs.c | |
parent | 5625415085e68ac5e150f54e685417c866620d76 (diff) | |
download | busybox-w32-1385899416a4396385ad421ae1f532be7103738a.tar.gz busybox-w32-1385899416a4396385ad421ae1f532be7103738a.tar.bz2 busybox-w32-1385899416a4396385ad421ae1f532be7103738a.zip |
attempt to regularize atoi mess.
Diffstat (limited to 'util-linux/ipcs.c')
-rw-r--r-- | util-linux/ipcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/ipcs.c b/util-linux/ipcs.c index 5e58e81da..ba81ea97c 100644 --- a/util-linux/ipcs.c +++ b/util-linux/ipcs.c | |||
@@ -581,7 +581,7 @@ int ipcs_main(int argc, char **argv) | |||
581 | 581 | ||
582 | opt = getopt32(argc, argv, "i:aqsmtcplu", &opt_i); | 582 | opt = getopt32(argc, argv, "i:aqsmtcplu", &opt_i); |
583 | if (opt & 0x1) { // -i | 583 | if (opt & 0x1) { // -i |
584 | id = atoi(opt_i); | 584 | id = xatoi(opt_i); |
585 | flags |= flag_print; | 585 | flags |= flag_print; |
586 | } | 586 | } |
587 | if (opt & 0x2) flags |= flag_msg | flag_sem | flag_shm; // -a | 587 | if (opt & 0x2) flags |= flag_msg | flag_sem | flag_shm; // -a |