From a339b8de8525ed53fdd8ff49a082ebe9444ee33a Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Fri, 28 May 2010 10:02:45 +0000 Subject: Add missing initialization. --- sys/arch/sparc64/dev/lom.c | 4 ++-- 1 file 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; -- cgit v1.2.3