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/mac68k Put a leading slash on the...



details:   https://anonhg.NetBSD.org/src/rev/b26969bbc554
branches:  trunk
changeset: 476290:b26969bbc554
user:      briggs <briggs%NetBSD.org@localhost>
date:      Sun Sep 12 15:29:38 1999 +0000

description:
Put a leading slash on the device name used in md_pre_disklabel().
The pathname was a relative path.  At this point, we should always be
using the miniroot's /dev tree.  Fixes PR install/8384 from Bob Nestor.

diffstat:

 distrib/utils/sysinst/arch/mac68k/md.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bd7dc1080886 -r b26969bbc554 distrib/utils/sysinst/arch/mac68k/md.c
--- a/distrib/utils/sysinst/arch/mac68k/md.c    Sun Sep 12 12:09:12 1999 +0000
+++ b/distrib/utils/sysinst/arch/mac68k/md.c    Sun Sep 12 15:29:38 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.11 1999/07/04 22:52:22 cgd Exp $ */
+/*     $NetBSD: md.c,v 1.12 1999/09/12 15:29:38 briggs Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -639,7 +639,7 @@
      */
     printf ("%s", msg_string (MSG_dodiskmap));
 
-    snprintf (devname, sizeof(devname), "dev/r%sc", diskdev);
+    snprintf (devname, sizeof(devname), "/dev/r%sc", diskdev);
 
     /*
      * Open the disk as a raw device



Home | Main Index | Thread Index | Old Index