]> git.ipfire.org Git - thirdparty/util-linux.git/commit
eject: do not use atoi()
authorKarel Zak <kzak@redhat.com>
Tue, 22 Jun 2021 13:15:46 +0000 (15:15 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 22 Jun 2021 15:04:24 +0000 (17:04 +0200)
commita1b3e2ec9d13070bccc51ccf64c8cd634ae3d172
tree0f6ea32bccc2fdf8db556b2aebabd272d5acbd7c
parent2ce856993b5479e0265431eb6ccd576f6681a993
eject: do not use atoi()

* remove unnecessary strtok() use
* remove atoi use()

Addresses: https://github.com/karelzak/util-linux/issues/1358
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/eject.c