diff options
Diffstat (limited to 'miscutils/ionice.c')
-rw-r--r-- | miscutils/ionice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/ionice.c b/miscutils/ionice.c index 52e51b9..6b791c4 100644 --- a/miscutils/ionice.c +++ b/miscutils/ionice.c @@ -73,7 +73,7 @@ int ionice_main(int argc UNUSED_PARAM, char **argv) if (!(opt & (OPT_n|OPT_c))) { if (!(opt & OPT_p) && *argv) - pid = xatoi_u(*argv); + pid = xatoi_positive(*argv); pri = ioprio_get(IOPRIO_WHO_PROCESS, pid); if (pri == -1) |