summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev/power.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-12-20 21:49:07 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-12-20 21:49:07 +0000
commit8c6ddaedde0a6444a426f8274dc5f193a7413e95 (patch)
tree808024ae2800728d991202ea9851c0a2b5c5e271 /sys/arch/hppa/dev/power.c
parentd9804fe79b882569b65969947971219de541c0eb (diff)
Pass -Wformat, fix a few uninitialized variables as well.
Diffstat (limited to 'sys/arch/hppa/dev/power.c')
-rw-r--r--sys/arch/hppa/dev/power.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/dev/power.c b/sys/arch/hppa/dev/power.c
index 6175fb7dce2..ff2e98481d2 100644
--- a/sys/arch/hppa/dev/power.c
+++ b/sys/arch/hppa/dev/power.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: power.c,v 1.3 2003/08/20 23:33:36 mickey Exp $ */
+/* $OpenBSD: power.c,v 1.4 2003/12/20 21:49:04 miod Exp $ */
/*
* Copyright (c) 2003 Michael Shalayeff
@@ -132,7 +132,7 @@ power_thread_create(void *v)
struct power_softc *sc = v;
if (kthread_create(sc->sc_kicker, sc, &sc->sc_thread,
- "powerbutton", 0))
+ "powerbutton"))
printf("WARNING: failed to create kernel power thread\n");
}