diff options
author | Michael Knudsen <mk@cvs.openbsd.org> | 2007-01-22 21:11:45 +0000 |
---|---|---|
committer | Michael Knudsen <mk@cvs.openbsd.org> | 2007-01-22 21:11:45 +0000 |
commit | 11bf21768494438a9e343f5517ca9608735ceb5a (patch) | |
tree | 534f3e4b8333424ba6098d4b3a5220f13e1af353 /sys/dev | |
parent | b0032bc2c35c18b015e601bdd9e6e557c6910e53 (diff) |
Some nits from fkr@, thanks!
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/acpi/acpidock.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/acpi/acpidock.c b/sys/dev/acpi/acpidock.c index 9128f424533..5f5a0507333 100644 --- a/sys/dev/acpi/acpidock.c +++ b/sys/dev/acpi/acpidock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpidock.c,v 1.1 2007/01/22 19:45:16 mk Exp $ */ +/* $OpenBSD: acpidock.c,v 1.2 2007/01/22 21:11:44 mk Exp $ */ /* * Copyright (c) 2006,2007 Michael Knudsen <mk@openbsd.org> * @@ -51,8 +51,7 @@ int acpidock_match(struct device *parent, void *match, void *aux) { struct acpi_attach_args *aaa = aux; - - struct cfdata *cf = match; + struct cfdata *cf = match; /* sanity */ if (aaa->aaa_name == NULL || @@ -77,7 +76,7 @@ acpidock_attach(struct device *parent, struct device *self, void *aux) sc->sc_docked = ACPIDOCK_STATUS_UNKNOWN; if (!acpidock_init(sc)) { - printf(": couldn't initialise\n"); + printf(": couldn't initialize\n"); return; } |