summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/macppc/dev/smu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/smu.c b/sys/arch/macppc/dev/smu.c
index 759829ea230..a17030c5ae2 100644
--- a/sys/arch/macppc/dev/smu.c
+++ b/sys/arch/macppc/dev/smu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smu.c,v 1.5 2005/11/11 16:44:36 kettenis Exp $ */
+/* $OpenBSD: smu.c,v 1.6 2005/11/13 19:51:11 kettenis Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
@@ -234,7 +234,7 @@ smu_attach(struct device *parent, struct device *self, void *aux)
return;
}
- lockinit(&sc->sc_lock, PZERO, "smulk", 0, 0);
+ lockinit(&sc->sc_lock, PZERO, sc->sc_dev.dv_xname, 0, 0);
/* Establish smu-doorbell interrupt. */
mac_intr_establish(parent, intr, IST_EDGE, IPL_BIO,