diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-11-10 18:33:47 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-11-10 18:33:47 +0000 |
commit | 21391407458d3a5dbe48006bb8af1c5aec71e34f (patch) | |
tree | 69c3a99febede17434a8ba229d0b728b98aee836 | |
parent | 20f64886d96b73741bc85f6437c8baae0d2333b5 (diff) |
(main): Issue decent prompt.
-rw-r--r-- | ufs/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |