BSD 4_3 release
[unix-history] / usr / src / etc / dump / dumpoptr.c
index 9a20d4a..6d48688 100644 (file)
@@ -1,4 +1,12 @@
-static char *sccsid = "@(#)dumpoptr.c  1.8 (Berkeley) 6/19/83";
+/*
+ * Copyright (c) 1980 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)dumpoptr.c 5.1 (Berkeley) 6/5/85";
+#endif not lint
 
 #include "dump.h"
 
 
 #include "dump.h"
 
@@ -26,7 +34,7 @@ struct        Group *getgrnam();
  *     that dump needs attention.
  */
 int    timeout;
  *     that dump needs attention.
  */
 int    timeout;
-char   *attnmessage;           /* attemtion message */
+char   *attnmessage;           /* attention message */
 query(question)
        char    *question;
 {
 query(question)
        char    *question;
 {
@@ -56,7 +64,7 @@ query(question)
                                back = 0;
                                goto done;
                } else {
                                back = 0;
                                goto done;
                } else {
-                       msg("\"Yes\" or \"No\" ONLY!\n");
+                       msg("\"Yes\" or \"No\"?\n");
                        alarmcatch();
                }
        }
                        alarmcatch();
                }
        }
@@ -89,8 +97,8 @@ alarmcatch()
  */
 interrupt()
 {
  */
 interrupt()
 {
-       msg("Interrupt received. Do >>>YOU<<< know what are you doing?\n");
-       if (query("Do you really want to abort dump?"))
+       msg("Interrupt received.\n");
+       if (query("Do you want to abort dump?"))
                dumpabort();
        signal(SIGINT, interrupt);
 }
                dumpabort();
        signal(SIGINT, interrupt);
 }