]> git.ipfire.org Git - thirdparty/util-linux.git/commit
chcpu: convert to use lib/path.c
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 15 Sep 2011 06:52:30 +0000 (08:52 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 27 Sep 2011 11:36:54 +0000 (13:36 +0200)
commit9bc2b4b1852f549e8d4ff446e85f8bc5239eb26d
tree455c8b7db8dd3612063a19b059092e99b8b48913
parent8148217b5bfc9a84ffc7b2936ea2dfecd87e723c
chcpu: convert to use lib/path.c

Use the common path access functions. In order to simplify chcpu also implement
and use path_writestr() which writes a string to the path specified.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
include/path.h
lib/path.c
sys-utils/Makefile.am
sys-utils/chcpu.c