diff options
Diffstat (limited to 'util-linux/flock.c')
-rw-r--r-- | util-linux/flock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/flock.c b/util-linux/flock.c index 78b1e4b..be3d552 100644 --- a/util-linux/flock.c +++ b/util-linux/flock.c @@ -40,7 +40,7 @@ int flock_main(int argc UNUSED_PARAM, char **argv) bb_perror_msg_and_die("can't open '%s'", argv[0]); //TODO? close_on_exec_on(fd); } else { - fd = xatoi_u(argv[0]); + fd = xatoi_positive(argv[0]); } argv++; |