diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-05-28 10:02:45 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-05-28 10:02:45 +0000 |
commit | a339b8de8525ed53fdd8ff49a082ebe9444ee33a (patch) | |
tree | 164538d6f686f2bf798733428eb89b3314d74466 | |
parent | 34c21f7445bcf7cc87e61515e75776a02274c460 (diff) |
Add missing initialization.
-rw-r--r-- | sys/arch/sparc64/dev/lom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/lom.c b/sys/arch/sparc64/dev/lom.c index bd400a86425..35159ac65f2 100644 --- a/sys/arch/sparc64/dev/lom.c +++ b/sys/arch/sparc64/dev/lom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lom.c,v 1.21 2010/02/28 20:44:39 kettenis Exp $ */ +/* $OpenBSD: lom.c,v 1.22 2010/05/28 10:02:44 kettenis Exp $ */ /* * Copyright (c) 2009 Mark Kettenis * @@ -981,7 +981,7 @@ lom2_write_hostname(struct lom_softc *sc) void lom_wdog_pat(void *arg) { - struct lom_softc *sc; + struct lom_softc *sc = arg; /* Pat the dog. */ sc->sc_wdog_pat.lc_cmd = LOM_IDX_WDOG_CTL | LOM_IDX_WRITE; |