summaryrefslogtreecommitdiff
path: root/system-preset
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-11-28 21:46:34 +0100
committerTom Gundersen <teg@jklm.no>2014-11-28 21:54:24 +0100
commit6501b52d358aa2c7fe28e477f9d5acf0a2991d32 (patch)
treef48bc86c56cdb8c151ca9f89682a43a1ad576d6c /system-preset
parent84198c1892cce2cb27d22bfa816da5d43c05add0 (diff)
udev: rules - print the first invalid character
The current code would print the character following the first invalid character. Given an udev rules-file without a trailing newline we would otherwise print garbage: invalid key/value pair in file /usr/lib/udev/rules.d/40-usb-media-players.rules on line 26, starting at character 25 ('m') This is now changed to print invalid key/value pair in file /usr/lib/udev/rules.d/40-usb-media-players.rules on line 26, starting at character 25 ('') (still not very good as printing \0 just gives the empty string)
Diffstat (limited to 'system-preset')
0 files changed, 0 insertions, 0 deletions