summaryrefslogtreecommitdiffstats
path: root/sys-utils/ipcrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/ipcrm.c')
-rw-r--r--sys-utils/ipcrm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c
index b452b51ec..7807bd437 100644
--- a/sys-utils/ipcrm.c
+++ b/sys-utils/ipcrm.c
@@ -337,7 +337,7 @@ int main(int argc, char **argv)
}
case 'm':
if (!iskey)
- id = strtoll_or_err(optarg, _("failed to parse argument"));
+ id = strtos32_or_err(optarg, _("failed to parse argument"));
if (remove_id(SHM, iskey, id))
ret++;
break;
@@ -350,7 +350,7 @@ int main(int argc, char **argv)
}
case 'q':
if (!iskey)
- id = strtoll_or_err(optarg, _("failed to parse argument"));
+ id = strtos32_or_err(optarg, _("failed to parse argument"));
if (remove_id(MSG, iskey, id))
ret++;
break;
@@ -363,7 +363,7 @@ int main(int argc, char **argv)
}
case 's':
if (!iskey)
- id = strtoll_or_err(optarg, _("failed to parse argument"));
+ id = strtos32_or_err(optarg, _("failed to parse argument"));
if (remove_id(SEM, iskey, id))
ret++;
break;