summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-05-09 18:16:16 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-05-09 18:16:16 +0000
commit7699954e2c9dcc5827f97d694bbfb89b924fc102 (patch)
tree09846fb4a5e504a46101b7cc571ef314bb649d7d /sys/dev/usb
parentc2a86cd44cccc796fc49d72dd87c93ed3207a1fc (diff)
Format string fixes and removal of -Wno-format for *ppc kernels.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/utpms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/utpms.c b/sys/dev/usb/utpms.c
index 09b34b91b59..f08597fa21f 100644
--- a/sys/dev/usb/utpms.c
+++ b/sys/dev/usb/utpms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: utpms.c,v 1.3 2013/11/15 08:17:44 pirofti Exp $ */
+/* $OpenBSD: utpms.c,v 1.4 2014/05/09 18:16:15 miod Exp $ */
/*
* Copyright (c) 2005, Johan Wallén
@@ -334,7 +334,7 @@ utpms_attach(struct device *parent, struct device *self, void *aux)
}
if (sc->sc_x_sensors <= 0 || sc->sc_x_sensors > UTPMS_X_SENSORS ||
sc->sc_y_sensors <= 0 || sc->sc_y_sensors > UTPMS_Y_SENSORS) {
- printf(": unexpected sensors configuration (d:d)\n",
+ printf(": unexpected sensors configuration (%d:%d)\n",
sc->sc_x_sensors, sc->sc_y_sensors);
return;
}