diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-22 08:30:52 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-22 08:30:52 +0000 |
commit | 7869c018b50b515d5cd21763a3676339f6960d00 (patch) | |
tree | 358a3671d596322334bda8d505b64334b4dcd618 | |
parent | ae843e9cc8984a420b44648d0d1f5166c987a158 (diff) | |
download | busybox-w32-7869c018b50b515d5cd21763a3676339f6960d00.tar.gz busybox-w32-7869c018b50b515d5cd21763a3676339f6960d00.tar.bz2 busybox-w32-7869c018b50b515d5cd21763a3676339f6960d00.zip |
ipcs: fix my recent breakage
-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 b49aab011..857065983 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 = bb_getopt_ulflags(argc, argv, "i:aqsmtcplu", &opt_i); | 582 | opt = bb_getopt_ulflags(argc, argv, "i:aqsmtcplu", &opt_i); |
583 | if (opt & 0x1) { // -i | 583 | if (opt & 0x1) { // -i |
584 | id = atoi(optarg); | 584 | id = atoi(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 |