]> 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, 20 Jul 2021 09:49:57 +0000 (11:49 +0200)
commit0ea3e2f0edeee6ee7d34f7287537df3e18051f3f
tree1fa957bc05623dc93ef29e5abb00d52737ddf576
parentee021a5f9e22521ac51a9d370b3b99f06ab8ab64
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