chiark / gitweb /
device: fix sysattr newline cutter
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 7 Apr 2015 11:11:18 +0000 (13:11 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 06:51:38 +0000 (07:51 +0100)
commitaa70affbcd1849cc5a36b1387846752cec6eec1c
tree1696748a39579bcab21db72f93778fa5cb9295a2
parent634fb6b688ff14875134883f3e9a44fe02e9df5b
device: fix sysattr newline cutter

Right now, we always drop the last character of all values we write to
sysfs. Fix this!
src/libelogind/sd-device/sd-device.c