udev: rules - move parsing error to log_error()

This commit is contained in:
Kay Sievers 2013-10-30 15:49:46 +01:00
parent 98a375f6d5
commit 75716dd8ea

View 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;
}