device: fix sysattr newline cutter
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 7 Apr 2015 11:11:18 +0000 (13:11 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 7 Apr 2015 11:11:18 +0000 (13:11 +0200)
commit24eb4a30982ed18d4716bd59c454a72f161d5982
tree901e57029aaf4747a0edecc1ab432be6de022af1
parentbd1acc9f2ffa9c2baf1ddd6bb965352aef5c7446
device: fix sysattr newline cutter

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