summaryrefslogtreecommitdiffstats
path: root/sys-utils/ipcmk.c
diff options
context:
space:
mode:
authorKarel Zak2012-05-15 17:45:17 +0200
committerKarel Zak2012-05-15 17:45:17 +0200
commit20a399822282522aee8a390bb1a8d85166dd1ea1 (patch)
tree818f8771721338aa85fc7daf7baa3a7cc4cd37ad /sys-utils/ipcmk.c
parentschedutils: cleanup strtoxx_or_err() (diff)
downloadkernel-qcow2-util-linux-20a399822282522aee8a390bb1a8d85166dd1ea1.tar.gz
kernel-qcow2-util-linux-20a399822282522aee8a390bb1a8d85166dd1ea1.tar.xz
kernel-qcow2-util-linux-20a399822282522aee8a390bb1a8d85166dd1ea1.zip
sys-utils: cleanup strtoxx_or_err()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/ipcmk.c')
-rw-r--r--sys-utils/ipcmk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/ipcmk.c b/sys-utils/ipcmk.c
index 6919d0dea..e7c5f5865 100644
--- a/sys-utils/ipcmk.c
+++ b/sys-utils/ipcmk.c
@@ -104,14 +104,14 @@ int main(int argc, char **argv)
while((opt = getopt_long(argc, argv, "hM:QS:p:Vh", longopts, NULL)) != -1) {
switch(opt) {
case 'M':
- size = strtol_or_err(optarg, _("failed to parse size"));
+ size = strtou64_or_err(optarg, _("failed to parse size"));
ask_shm = 1;
break;
case 'Q':
ask_msg = 1;
break;
case 'S':
- nsems = strtol_or_err(optarg, _("failed to parse elements"));
+ nsems = strtos32_or_err(optarg, _("failed to parse elements"));
ask_sem = 1;
break;
case 'p':