diff options
Diffstat (limited to 'sys/dev/pci/wdt.c')
-rw-r--r-- | sys/dev/pci/wdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/wdt.c b/sys/dev/pci/wdt.c index e6b557c5fc5..b19cdab91e0 100644 --- a/sys/dev/pci/wdt.c +++ b/sys/dev/pci/wdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdt.c,v 1.19 2010/04/08 00:23:54 tedu Exp $ */ +/* $OpenBSD: wdt.c,v 1.20 2011/04/03 15:36:03 jasper Exp $ */ /*- * Copyright (c) 1998,1999 Alex Nash @@ -102,7 +102,7 @@ int wdt_probe(struct device *parent, void *match, void *aux) { return (pci_matchbyid((struct pci_attach_args *)aux, wdt_devices, - sizeof(wdt_devices)/sizeof(wdt_devices[0]))); + nitems(wdt_devices))); } void |