summaryrefslogtreecommitdiffstats
path: root/sys-utils/setarch.c
diff options
context:
space:
mode:
authorKarel Zak2015-03-27 15:04:58 +0100
committerKarel Zak2015-03-27 15:04:58 +0100
commit3ba8e422a040c282483803f8ffe6279b93bc6139 (patch)
tree09b0a7c3ad21ddcad434731de0360dfab4591cad /sys-utils/setarch.c
parentcfdisk: provide extra partinfo with "x" (diff)
downloadkernel-qcow2-util-linux-3ba8e422a040c282483803f8ffe6279b93bc6139.tar.gz
kernel-qcow2-util-linux-3ba8e422a040c282483803f8ffe6279b93bc6139.tar.xz
kernel-qcow2-util-linux-3ba8e422a040c282483803f8ffe6279b93bc6139.zip
sfdisk: cleanup prompt usage
Let's use fgets-like callback only when compiled with readline, otherwise (and also for non-tty) print prompt by printf(). Reported-by: Ruediger Meier <sweet_f_a@gmx.de> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/setarch.c')
0 files changed, 0 insertions, 0 deletions