Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sbin/disklabel Pull up revision 1.10:



details:   https://anonhg.NetBSD.org/src/rev/b22f6d878e80
branches:  netbsd-1-4
changeset: 469355:b22f6d878e80
user:      he <he%NetBSD.org@localhost>
date:      Fri Sep 10 22:37:10 1999 +0000

description:
Pull up revision 1.10:
  'Label disk?' prompt should check for 'Y' as well as 'y'.  (abs)

diffstat:

 sbin/disklabel/interact.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a89651189074 -r b22f6d878e80 sbin/disklabel/interact.c
--- a/sbin/disklabel/interact.c Fri Sep 10 22:34:00 1999 +0000
+++ b/sbin/disklabel/interact.c Fri Sep 10 22:37:10 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: interact.c,v 1.8 1998/11/12 16:19:48 christos Exp $    */
+/*     $NetBSD: interact.c,v 1.8.2.1 1999/09/10 22:37:10 he Exp $      */
 
 /*
  * Copyright (c) 1997 Christos Zoulas.  All rights reserved.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: interact.c,v 1.8 1998/11/12 16:19:48 christos Exp $");
+__RCSID("$NetBSD: interact.c,v 1.8.2.1 1999/09/10 22:37:10 he Exp $");
 #endif /* lint */
 
 #include <stdio.h>
@@ -209,7 +209,7 @@
 
        i = getinput("?", "Label disk", "n", line);
 
-       if (i <= 0 || *line != 'y')
+       if (i <= 0 || (*line != 'y' && *line != 'Y') )
                return;
 
        if (checklabel(lp) != 0) {



Home | Main Index | Thread Index | Old Index