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/prlimit.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/prlimit.c')
-rw-r--r-- | sys-utils/prlimit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/prlimit.c b/sys-utils/prlimit.c index 7e52a2d9c..58e189c1f 100644 --- a/sys-utils/prlimit.c +++ b/sys-utils/prlimit.c @@ -581,7 +581,7 @@ int main(int argc, char **argv) if (pid) /* we only work one pid at a time */ errx(EXIT_FAILURE, _("only use one PID at a time")); - pid = strtol_or_err(optarg, _("cannot parse PID")); + pid = strtos32_or_err(optarg, _("invalid PID argument")); break; case 'h': usage(stdout); |