24 lines
1.2 KiB
Diff
24 lines
1.2 KiB
Diff
|
From 85639427b3a3014adf934ee94c86d91f3aaf4cfb Mon Sep 17 00:00:00 2001
|
||
|
From: Tom Gundersen <teg@jklm.no>
|
||
|
Date: Mon, 15 Sep 2014 16:36:07 +0200
|
||
|
Subject: [PATCH] udev: rules - add missing whitespace to log message
|
||
|
|
||
|
---
|
||
|
src/udev/udev-rules.c | 3 +--
|
||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c
|
||
|
index ce4d173ee9..2a691f6ab7 100644
|
||
|
--- a/src/udev/udev-rules.c
|
||
|
+++ b/src/udev/udev-rules.c
|
||
|
@@ -1072,8 +1072,7 @@ static int add_rule(struct udev_rules *rules, char *line,
|
||
|
_cleanup_free_ char *tmp;
|
||
|
|
||
|
tmp = cescape(buf);
|
||
|
- log_error("invalid key/value pair in file %s on line %u,"
|
||
|
- "starting at character %tu ('%s')\n",
|
||
|
+ log_error("invalid key/value pair in file %s on line %u, starting at character %tu ('%s')\n",
|
||
|
filename, lineno, linepos - line + 1, tmp);
|
||
|
if (linepos[1] == '#')
|
||
|
log_error("hint: comments can only start at beginning of line");
|