Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst/arch/alpha The (unused) md_pre_disklabel() ...



details:   https://anonhg.NetBSD.org/src/rev/2300d5817f30
branches:  trunk
changeset: 745722:2300d5817f30
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Mar 09 17:10:31 2020 +0000

description:
The (unused) md_pre_disklabel() function needs to return success, otherwise
all installations will be aborted.

diffstat:

 usr.sbin/sysinst/arch/alpha/md.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9c8bcaa3baf3 -r 2300d5817f30 usr.sbin/sysinst/arch/alpha/md.c
--- a/usr.sbin/sysinst/arch/alpha/md.c  Mon Mar 09 15:40:50 2020 +0000
+++ b/usr.sbin/sysinst/arch/alpha/md.c  Mon Mar 09 17:10:31 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.7 2019/12/15 13:39:24 martin Exp $ */
+/*     $NetBSD: md.c,v 1.8 2020/03/09 17:10:31 martin Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -126,7 +126,7 @@
 md_pre_disklabel(struct install_partition_desc *install,
     struct disk_partitions *part)
 {
-       return 0;
+       return true;
 }
 
 /*



Home | Main Index | Thread Index | Old Index