chiark / gitweb /
udev: rules - move parsing error to log_error()
authorKay Sievers <kay@vrfy.org>
Wed, 30 Oct 2013 14:49:46 +0000 (15:49 +0100)
committerKay Sievers <kay@vrfy.org>
Wed, 30 Oct 2013 14:49:46 +0000 (15:49 +0100)
src/udev/udev-rules.c

index 41b8d53db23fe702b884c9a9485297ddedb417a1..e2ba0b0cc88926b57b11a6e2de31c656bd564a58 100644 (file)
@@ -1081,7 +1081,7 @@ static int add_rule(struct udev_rules *rules, char *line,
                                           "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");
+                                        log_error("hint: comments can only start at beginning of line");
                         }
                         break;
                 }