summaryrefslogtreecommitdiffstats
path: root/sys-utils/ipcmk.c
diff options
context:
space:
mode:
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':