diff options
author | 2013-04-06 13:03:09 +0000 | |
---|---|---|
committer | 2013-04-06 13:03:09 +0000 | |
commit | 8589028ccd0b058f02f42f9662f710511af05c3d (patch) | |
tree | 0866c0b6c44891e94fb903266179d5a3d90476a7 | |
parent | explain what "default" means in sndio.7 rather than {sio,mio}_open.3, (diff) | |
download | wireguard-openbsd-8589028ccd0b058f02f42f9662f710511af05c3d.tar.xz wireguard-openbsd-8589028ccd0b058f02f42f9662f710511af05c3d.zip |
fix format string % escape
-rw-r--r-- | sys/dev/usb/uoakrh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uoakrh.c b/sys/dev/usb/uoakrh.c index 070d3203d46..2b4656514cc 100644 --- a/sys/dev/usb/uoakrh.c +++ b/sys/dev/usb/uoakrh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uoakrh.c,v 1.3 2013/03/28 03:58:03 tedu Exp $ */ +/* $OpenBSD: uoakrh.c,v 1.4 2013/04/06 13:03:09 sf Exp $ */ /* * Copyright (c) 2012 Yojiro UO <yuo@nui.org> @@ -187,7 +187,7 @@ uoakrh_attach(struct device *parent, struct device *self, void *aux) (void)snprintf(sc->sc_sensor.temp.desc, sizeof(sc->sc_sensor.temp.desc), "Temp.(#%s)", scc->sc_udi.udi_serial); (void)snprintf(sc->sc_sensor.humi.desc, sizeof(sc->sc_sensor.humi.desc), - "\%RH(#%s)", scc->sc_udi.udi_serial); + "%%RH(#%s)", scc->sc_udi.udi_serial); sensor_attach(&sc->sc_sensordev, &sc->sc_sensor.temp); sensor_attach(&sc->sc_sensordev, &sc->sc_sensor.humi); |