Module Name:    src
Committed By:   martin
Date:           Sun Jun  3 13:18:06 UTC 2018

Modified Files:
        src/usr.sbin/sysinst: disks.c

Log Message:
In the generated /etc/fstab, do not use the (temporary, during sysinst)
path name for the file in the comment, but instead the one it will
have on the target system.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/sysinst/disks.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/sysinst/disks.c
diff -u src/usr.sbin/sysinst/disks.c:1.15 src/usr.sbin/sysinst/disks.c:1.16
--- src/usr.sbin/sysinst/disks.c:1.15	Sun Jun  3 13:16:30 2018
+++ src/usr.sbin/sysinst/disks.c	Sun Jun  3 13:18:06 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: disks.c,v 1.15 2018/06/03 13:16:30 martin Exp $ */
+/*	$NetBSD: disks.c,v 1.16 2018/06/03 13:18:06 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1039,8 +1039,8 @@ make_fstab(void)
 #endif
 	}
 
-	scripting_fprintf(f, "# NetBSD %s/etc/fstab\n# See /usr/share/examples/"
-			"fstab/ for more examples.\n", target_prefix());
+	scripting_fprintf(f, "# NetBSD /etc/fstab\n# See /usr/share/examples/"
+			"fstab/ for more examples.\n");
 
 	if (pm->no_part) {
 		/* single dk? target */

Reply via email to