teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame 0261-udev-rules-add-missing-whitespace-to-log-message.patch

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