summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/dev/rtc.c')
-rw-r--r--sys/arch/sparc64/dev/rtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/rtc.c b/sys/arch/sparc64/dev/rtc.c
index 98fbf3e8eb4..dfa57e4ed53 100644
--- a/sys/arch/sparc64/dev/rtc.c
+++ b/sys/arch/sparc64/dev/rtc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtc.c,v 1.7 2009/01/07 13:01:39 kettenis Exp $ */
+/* $OpenBSD: rtc.c,v 1.8 2010/04/10 12:52:39 kettenis Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -157,7 +157,7 @@ rtc_attach(struct device *parent, struct device *self, void *aux)
model = getpropstring(ea->ea_node, "model");
if (*model == '\0')
model = getpropstring(ea->ea_node, "compatible");
- printf(": %s\n", *model != '\0' != 0 ? model : "unknown");
+ printf(": %s\n", *model != '\0' ? model : "unknown");
/* Setup our todr_handle */
handle = malloc(sizeof(struct todr_chip_handle), M_DEVBUF, M_NOWAIT);