Source-Changes-HG archive

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

[src/trunk]: src/sbin/fdisk Add "DISK" to -S output.



details:   https://anonhg.NetBSD.org/src/rev/3de0e49a6c6d
branches:  trunk
changeset: 555564:3de0e49a6c6d
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Nov 21 21:47:42 2003 +0000

description:
Add "DISK" to -S output.

diffstat:

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

diffs (26 lines):

diff -r b8fb3e021645 -r 3de0e49a6c6d sbin/fdisk/fdisk.c
--- a/sbin/fdisk/fdisk.c        Fri Nov 21 21:20:25 2003 +0000
+++ b/sbin/fdisk/fdisk.c        Fri Nov 21 21:47:42 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdisk.c,v 1.72 2003/10/11 04:50:49 lukem Exp $ */
+/*     $NetBSD: fdisk.c,v 1.73 2003/11/21 21:47:42 lukem Exp $ */
 
 /*
  * Mach Operating System
@@ -35,7 +35,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: fdisk.c,v 1.72 2003/10/11 04:50:49 lukem Exp $");
+__RCSID("$NetBSD: fdisk.c,v 1.73 2003/11/21 21:47:42 lukem Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -2031,6 +2031,7 @@
 {
 
        if (sh_flag) {
+               printf("DISK=%s\n", disk);
                printf("DLCYL=%d\nDLHEAD=%d\nDLSEC=%d\nDLSIZE=%"PRIdaddr"\n",
                        cylinders, heads, sectors, disksectors);
                printf("BCYL=%d\nBHEAD=%d\nBSEC=%d\nBDLSIZE=%"PRIdaddr"\n",



Home | Main Index | Thread Index | Old Index