summaryrefslogtreecommitdiff
path: root/ufs/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ufs/main.c')
-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;