Module Name: src
Committed By: christos
Date: Sun Nov 22 15:53:10 UTC 2015
Modified Files:
src/sbin/fdisk: fdisk.c
Log Message:
explain how to clear an entry (without reading the source)
To generate a diff of this commit:
cvs rdiff -u -r1.152 -r1.153 src/sbin/fdisk/fdisk.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/fdisk/fdisk.c
diff -u src/sbin/fdisk/fdisk.c:1.152 src/sbin/fdisk/fdisk.c:1.153
--- src/sbin/fdisk/fdisk.c:1.152 Tue Jun 16 19:58:30 2015
+++ src/sbin/fdisk/fdisk.c Sun Nov 22 10:53:10 2015
@@ -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 @@ string(const char *prompt, int length, c
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");