diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-11-10 13:43:06 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-11-10 13:43:06 +0000 |
commit | 13d6fa882e220280d10d17cd102a9e6319ed3837 (patch) | |
tree | 1c26bbf9fe56f1d56ccddec6648383b425595587 /sys | |
parent | 4f2d96cc5e96b18940ad0c760577f009f8898711 (diff) |
knf.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/umbg.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/usb/umbg.c b/sys/dev/usb/umbg.c index 9ef4e3d2dc3..465a4c748a5 100644 --- a/sys/dev/usb/umbg.c +++ b/sys/dev/usb/umbg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umbg.c,v 1.1 2007/11/10 12:58:08 mbalmer Exp $ */ +/* $OpenBSD: umbg.c,v 1.2 2007/11/10 13:43:05 mbalmer Exp $ */ /* * Copyright (c) 2007 Marc Balmer <mbalmer@openbsd.org> @@ -238,8 +238,7 @@ umbg_attach(struct device *parent, struct device *self, void *aux) sc->sc_signal.type = SENSOR_PERCENT; sc->sc_signal.value = 0LL; sc->sc_signal.flags = 0; - strlcpy(sc->sc_signal.desc, "Signal", - sizeof(sc->sc_signal.desc)); + strlcpy(sc->sc_signal.desc, "Signal", sizeof(sc->sc_signal.desc)); sensor_attach(&sc->sc_sensordev, &sc->sc_signal); printf("%s: ", sc->sc_dev.dv_xname); |