Source-Changes-HG archive

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

[src/netbsd-9]: src/usr.sbin/sysinst/arch/evbarm Pull up following revision(s...



details:   https://anonhg.NetBSD.org/src/rev/1a274f113a47
branches:  netbsd-9
changeset: 963574:1a274f113a47
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Jan 29 23:31:30 2020 +0000

description:
Pull up following revision(s) (requested by martin in ticket #673):
        usr.sbin/sysinst/arch/evbarm/md.c: revision 1.15
Do not compare a char array to NULL, test for empty string instead.

diffstat:

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

diffs (18 lines):

diff -r b9821fc5fd3c -r 1a274f113a47 usr.sbin/sysinst/arch/evbarm/md.c
--- a/usr.sbin/sysinst/arch/evbarm/md.c Tue Jan 28 11:14:15 2020 +0000
+++ b/usr.sbin/sysinst/arch/evbarm/md.c Wed Jan 29 23:31:30 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.8.2.3 2020/01/28 10:17:58 msaitoh Exp $ */
+/*     $NetBSD: md.c,v 1.8.2.4 2020/01/29 23:31:30 msaitoh Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -352,7 +352,7 @@
 
        for (i = 0; i < num_usage_infos; i++) {
                if (infos[i].fs_type == PART_BOOT_TYPE &&
-                   infos[i].mount != NULL &&
+                   infos[i].mount[0] != 0 &&
                    strcmp(infos[i].mount, PART_BOOT_MOUNT) == 0) {
                        infos[i].size = PART_BOOT_LARGE;
                        return;



Home | Main Index | Thread Index | Old Index