Permalink
Browse files

rts8891: fix format string

  • Loading branch information...
1 parent 0951e1b commit f535dd8cd9508c567bfdf0c736eebfd04197f0fc @jblache jblache committed Jun 23, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 backend/rts8891.c
View
@@ -3776,8 +3776,8 @@ init_device (struct Rts8891_Device *dev)
sprintf (message, "init_device: initial register settings: ");
for (i = 0; i < dev->reg_count; i++)
sprintf (message + strlen (message), "0x%02x ", dev->regs[i]);
- sprintf (message + strlen (message), "\n");
- DBG (DBG_io2, message);
+
+ DBG (DBG_io2, "%s\n", message);
}
/* initial sensor guess */

0 comments on commit f535dd8

Please sign in to comment.