Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/bebox/bebox PR/50524: David Binderman: Fix incorrec...
details: https://anonhg.NetBSD.org/src/rev/c1aaa66e73cc
branches: trunk
changeset: 342254:c1aaa66e73cc
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 13 19:38:09 2015 +0000
description:
PR/50524: David Binderman: Fix incorrect test
diffstat:
sys/arch/bebox/bebox/autoconf.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0e2e3eda946a -r c1aaa66e73cc sys/arch/bebox/bebox/autoconf.c
--- a/sys/arch/bebox/bebox/autoconf.c Sun Dec 13 19:36:40 2015 +0000
+++ b/sys/arch/bebox/bebox/autoconf.c Sun Dec 13 19:38:09 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.26 2012/12/19 13:53:47 kiyohara Exp $ */
+/* $NetBSD: autoconf.c,v 1.27 2015/12/13 19:38:09 christos Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.26 2012/12/19 13:53:47 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.27 2015/12/13 19:38:09 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -162,7 +162,7 @@
return;
p += 2;
part = (*p++) - '0';
- if (p != '\0')
+ if (*p != '\0')
return;
booted_partition = part;
Home |
Main Index |
Thread Index |
Old Index