Source-Changes-HG archive

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

[src/trunk]: src/sbin/fdisk explain how to clear an entry (without reading th...



details:   https://anonhg.NetBSD.org/src/rev/3f8f5bfb38eb
branches:  trunk
changeset: 341796:3f8f5bfb38eb
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 22 15:53:10 2015 +0000

description:
explain how to clear an entry (without reading the source)

diffstat:

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

diffs (27 lines):

diff -r 1d0f2ef6027c -r 3f8f5bfb38eb sbin/fdisk/fdisk.c
--- a/sbin/fdisk/fdisk.c        Sun Nov 22 14:06:08 2015 +0000
+++ b/sbin/fdisk/fdisk.c        Sun Nov 22 15:53:10 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdisk.c,v 1.152 2015/06/16 23:58:30 christos Exp $ */
+/*     $NetBSD: fdisk.c,v 1.153 2015/11/22 15:53:10 christos Exp $ */
 
 /*
  * Mach Operating System
@@ -39,7 +39,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: fdisk.c,v 1.152 2015/06/16 23:58:30 christos Exp $");
+__RCSID("$NetBSD: fdisk.c,v 1.153 2015/11/22 15:53:10 christos Exp $");
 #endif /* not lint */
 
 #define MBRPTYPENAMES
@@ -2975,7 +2975,7 @@
        int len;
 
        for (;;) {
-               printf("%s: [%.*s] ", prompt, length, buf);
+               printf("%s: [%.*s] (space to clear)", prompt, length, buf);
 
                if (!fgets(lbuf, LBUF, stdin))
                        errx(1, "EOF");



Home | Main Index | Thread Index | Old Index