]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib: [sysfs.c] make sysfs_read_* function more robust
authorKarel Zak <kzak@redhat.com>
Wed, 18 May 2011 09:57:17 +0000 (11:57 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 18 May 2011 09:57:17 +0000 (11:57 +0200)
commit90e9fcda3bb3a215f027fc66c1182a18e0746972
treecd10e1fd1fe586cf3d08287c82f30cd7e4edce72
parent1ddc96ac3c510c6237a554f211d3f07d0ea708de
lib: [sysfs.c] make sysfs_read_* function more robust

The functions does not modify result if the requested sysfs attribute
does not exist.

Signed-off-by: Karel Zak <kzak@redhat.com>
include/sysfs.h
lib/sysfs.c
misc-utils/lsblk.c
shlibs/blkid/src/devname.c
shlibs/blkid/src/partitions/partitions.c
shlibs/blkid/src/topology/sysfs.c