Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mac68k/mac68k Fix a befuddling error from gcc.
details: https://anonhg.NetBSD.org/src/rev/668013cc05e6
branches: trunk
changeset: 554409:668013cc05e6
user: fredb <fredb%NetBSD.org@localhost>
date: Mon Oct 27 23:11:23 2003 +0000
description:
Fix a befuddling error from gcc.
diffstat:
sys/arch/mac68k/mac68k/macrom.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f854ad859b2b -r 668013cc05e6 sys/arch/mac68k/mac68k/macrom.c
--- a/sys/arch/mac68k/mac68k/macrom.c Mon Oct 27 23:08:12 2003 +0000
+++ b/sys/arch/mac68k/mac68k/macrom.c Mon Oct 27 23:11:23 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: macrom.c,v 1.52 2003/09/28 22:56:58 cl Exp $ */
+/* $NetBSD: macrom.c,v 1.53 2003/10/27 23:11:23 fredb Exp $ */
/*-
* Copyright (C) 1994 Bradley A. Grantham
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: macrom.c,v 1.52 2003/09/28 22:56:58 cl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: macrom.c,v 1.53 2003/10/27 23:11:23 fredb Exp $");
#include "opt_adb.h"
#include "opt_ddb.h"
@@ -178,7 +178,7 @@
__asm __volatile ("movl %%a0,%0" : "=g" (ptr));
(caddr_t *)prev = &mrg_DTList;
- while (*prev != NULL)
+ while (*prev != 0)
prev = *(caddr_t *)prev;
*(caddr_t *)ptr = NULL;
*(caddr_t *)prev = ptr;
Home |
Main Index |
Thread Index |
Old Index