Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/sysinst/arch/pmax Don't include <sys/disklabel...
details: https://anonhg.NetBSD.org/src/rev/2e30ae280543
branches: trunk
changeset: 471592:2e30ae280543
user: simonb <simonb%NetBSD.org@localhost>
date: Mon Apr 05 06:24:17 1999 +0000
description:
Don't include <sys/disklabel.h> - "defs.h" does this us with the
right #defines so that we get the filesystem type names.
s/fstype/fstypenames/
diffstat:
distrib/utils/sysinst/arch/pmax/md.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 405e25359826 -r 2e30ae280543 distrib/utils/sysinst/arch/pmax/md.c
--- a/distrib/utils/sysinst/arch/pmax/md.c Mon Apr 05 06:17:44 1999 +0000
+++ b/distrib/utils/sysinst/arch/pmax/md.c Mon Apr 05 06:24:17 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.24 1999/03/31 00:44:50 fvdl Exp $ */
+/* $NetBSD: md.c,v 1.25 1999/04/05 06:24:17 simonb Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -39,7 +39,6 @@
/* md.c -- pmax machine specific routines */
#include <sys/types.h>
-#include <sys/disklabel.h>
#include <sys/ioctl.h>
#include <stdio.h>
#include <curses.h>
@@ -360,7 +359,7 @@
(void)fprintf (f, "\t:p%c#%d:o%c#%d:t%c=%s:",
'a'+i, bsdlabel[i].pi_size,
'a'+i, bsdlabel[i].pi_offset,
- 'a'+i, fstype[bsdlabel[i].pi_fstype]);
+ 'a'+i, fstypenames[bsdlabel[i].pi_fstype]);
if (bsdlabel[i].pi_fstype == FS_BSDFFS)
(void)fprintf (f, "b%c#%d:f%c#%d",
'a'+i, bsdlabel[i].pi_bsize,
Home |
Main Index |
Thread Index |
Old Index