From 7869c018b50b515d5cd21763a3676339f6960d00 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 22 Sep 2006 08:30:52 +0000 Subject: [PATCH] ipcs: fix my recent breakage --- util-linux/ipcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) opt = bb_getopt_ulflags(argc, argv, "i:aqsmtcplu", &opt_i); if (opt & 0x1) { // -i - id = atoi(optarg); + id = atoi(opt_i); flags |= flag_print; } if (opt & 0x2) flags |= flag_msg | flag_sem | flag_shm; // -a -- 2.25.1