summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-11-10 18:33:47 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-11-10 18:33:47 +0000
commit21391407458d3a5dbe48006bb8af1c5aec71e34f (patch)
tree69c3a99febede17434a8ba229d0b728b98aee836 /ufs
parent20f64886d96b73741bc85f6437c8baae0d2333b5 (diff)
(main): Issue decent prompt.
Diffstat (limited to 'ufs')
-rw-r--r--ufs/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ufs/main.c b/ufs/main.c
index 0e6bd19d..5905cbb0 100644
--- a/ufs/main.c
+++ b/ufs/main.c
@@ -143,6 +143,8 @@ main (int argc, char **argv)
/* Prompt the user to give us another name rather
than just crashing */
printf ("Cannot open device %s\n", devname);
+ printf ("Open instead: ");
+ fflush (stdout);
len = getline (&line, &linesz, stdin);
if (len > 2)
devname = line;