[systemd-devel] [PATCH] udev: fix printf(3) type specifier
Shawn Landden
shawnlandden at gmail.com
Wed Aug 21 18:19:02 PDT 2013
---
src/udev/udev-rules.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c
index 1634812..f14158b 100644
--- a/src/udev/udev-rules.c
+++ b/src/udev/udev-rules.c
@@ -1076,7 +1076,7 @@ static int add_rule(struct udev_rules *rules, char *line,
tmp = cescape(buf);
log_error("invalid key/value pair in file %s on line %u,"
- "starting at character %lu ('%s')\n",
+ "starting at character %tu ('%s')\n",
filename, lineno, linepos - line + 1, tmp);
if (linepos[1] == '#')
log_info("hint: comments can only start at beginning of line");
--
1.8.4.rc3
More information about the systemd-devel
mailing list