summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pwdog.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/pwdog.c')
-rw-r--r--sys/dev/pci/pwdog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pwdog.c b/sys/dev/pci/pwdog.c
index 8d5f65f7bc2..c95d9aeb116 100644
--- a/sys/dev/pci/pwdog.c
+++ b/sys/dev/pci/pwdog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwdog.c,v 1.7 2010/04/08 00:23:53 tedu Exp $ */
+/* $OpenBSD: pwdog.c,v 1.8 2012/10/17 22:32:01 deraadt Exp $ */
/*
* Copyright (c) 2006 Marc Balmer <mbalmer@openbsd.org>
@@ -79,7 +79,7 @@ pwdog_attach(struct device *parent, struct device *self, void *aux)
}
printf("\n");
bus_space_write_1(pwdog->iot, pwdog->ioh, PWDOG_DISABLE, 0);
- wdog_register(pwdog, pwdog_set_timeout);
+ wdog_register(pwdog_set_timeout, pwdog);
}
int