]> err.no Git - util-linux/commit
fdisk: re-print prompt after maybe_exit()
authorKarel Zak <kzak@redhat.com>
Wed, 5 Jan 2011 15:50:47 +0000 (16:50 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 5 Jan 2011 15:50:47 +0000 (16:50 +0100)
commit8feb31e5329da705e7fc99f7b28a261af8c9e493
tree2a451fe65c88b17bbae6376724f194cdab9daea2
parente66ac5d344dd038adb664e237c4c2610020f3f62
fdisk: re-print prompt after maybe_exit()

after
Do you really want to quit? n

the read_chars() has to re-print the original prompt and ask again
for new input. For example:

Partition number (1-4, default 3):               <-- CTRL-D
Do you really want to quit? n
Partition number (1-4, default 3): 3             <-- ask again
First sector (411648-1023999, default 411648):

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk/fdisk.c
fdisk/fdisk.h
fdisk/fdiskbsdlabel.c