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/mvme68k Use target_expand() when ...



details:   https://anonhg.NetBSD.org/src/rev/989746180f06
branches:  trunk
changeset: 532320:989746180f06
user:      scw <scw%NetBSD.org@localhost>
date:      Wed Jun 05 09:39:04 2002 +0000

description:
Use target_expand() when referring to files on the target filesystem.

diffstat:

 distrib/utils/sysinst/arch/mvme68k/md.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r b2b686f16aab -r 989746180f06 distrib/utils/sysinst/arch/mvme68k/md.c
--- a/distrib/utils/sysinst/arch/mvme68k/md.c   Wed Jun 05 08:50:09 2002 +0000
+++ b/distrib/utils/sysinst/arch/mvme68k/md.c   Wed Jun 05 09:39:04 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.2 2002/06/05 08:50:09 scw Exp $       */
+/*     $NetBSD: md.c,v 1.3 2002/06/05 09:39:04 scw Exp $       */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -152,8 +152,8 @@
        msg_display(MSG_dobootblks, diskdev);
        cp_to_target("/usr/mdec/bootsd", "/.bootsd");
        run_prog(RUN_DISPLAY, "Warning: disk is probably not bootable",
-               "/usr/mdec/installboot /.bootsd /usr/mdec/%sboot /dev/r%sa",
-               diskdev, diskdev);
+               "/usr/mdec/installboot %s /usr/mdec/bootxx /dev/r%sa",
+               target_expand("/.bootsd"), diskdev);
        return (0);
 }
 



Home | Main Index | Thread Index | Old Index