]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: add wrap_fgets() for getting user input
authorVaclav Dolezal <vdolezal@redhat.com>
Tue, 15 Aug 2017 11:08:49 +0000 (13:08 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 24 Aug 2017 09:27:18 +0000 (11:27 +0200)
commit55cf3716098e1c5977940b0508a740a2d133aede
tree6410f6b27fb5f4451827811a31ece7aaf01c52a1
parent504c594777a8e83db48322662f9162aa48a7924b
fdisk: add wrap_fgets() for getting user input

make function wrapping rl_fgets() and fputs()&fgets() to remove
code duplication in get_user_reply().

Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
disk-utils/fdisk.c