diff options
author | Karel Zak | 2012-05-15 17:45:17 +0200 |
---|---|---|
committer | Karel Zak | 2012-05-15 17:45:17 +0200 |
commit | 20a399822282522aee8a390bb1a8d85166dd1ea1 (patch) | |
tree | 818f8771721338aa85fc7daf7baa3a7cc4cd37ad /sys-utils/ipcmk.c | |
parent | schedutils: cleanup strtoxx_or_err() (diff) | |
download | kernel-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.c | 4 |
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': |