Source-Changes-HG archive

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

[src/netbsd-1-6]: src/gnu/usr.sbin/mdsetimage Pull up revision 1.7 (requested...



details:   https://anonhg.NetBSD.org/src/rev/fb71af44009f
branches:  netbsd-1-6
changeset: 529247:fb71af44009f
user:      he <he%NetBSD.org@localhost>
date:      Sun Nov 03 13:31:48 2002 +0000

description:
Pull up revision 1.7 (requested by thorpej in ticket #786):
  bfd_vms is not a pointer type, so use 0 instead of NULL.

diffstat:

 gnu/usr.sbin/mdsetimage/mdsetimage.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r b3353f10bace -r fb71af44009f gnu/usr.sbin/mdsetimage/mdsetimage.c
--- a/gnu/usr.sbin/mdsetimage/mdsetimage.c      Sun Nov 03 13:29:08 2002 +0000
+++ b/gnu/usr.sbin/mdsetimage/mdsetimage.c      Sun Nov 03 13:31:48 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mdsetimage.c,v 1.6 2002/03/02 12:21:14 mrg Exp $ */
+/* $NetBSD: mdsetimage.c,v 1.6.2.1 2002/11/03 13:31:48 he Exp $ */
 /* from: NetBSD: mdsetimage.c,v 1.15 2001/03/21 23:46:48 cgd Exp $ */
 
 /*
@@ -38,7 +38,7 @@
 #endif /* not lint */
 
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: mdsetimage.c,v 1.6 2002/03/02 12:21:14 mrg Exp $");
+__RCSID("$NetBSD: mdsetimage.c,v 1.6.2.1 2002/11/03 13:31:48 he Exp $");
 #endif /* not lint */
 
 #if HAVE_CONFIG_H
@@ -65,9 +65,9 @@
        size_t offset;
 } md_root_symbols[] = {
 #define        X_MD_ROOT_IMAGE 0
-       { "_md_root_image", NULL, 0 },
+       { "_md_root_image", 0, 0 },
 #define        X_MD_ROOT_SIZE  1
-       { "_md_root_size", NULL, 0 },
+       { "_md_root_size", 0, 0 },
        { NULL }
 };
 
@@ -281,7 +281,7 @@
        free(symbol_table);
 
        for (s = symbols; s->name != NULL; s++) {
-               if (s->vma == NULL)
+               if (s->vma == 0)
                        return (1);
 
                for (p = abfd->sections; p != NULL; p = p->next) {



Home | Main Index | Thread Index | Old Index