]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: fix compiler warnings
authorDavidlohr Bueso <dave@gnu.org>
Wed, 4 Jan 2012 22:28:59 +0000 (23:28 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 5 Jan 2012 16:09:27 +0000 (17:09 +0100)
commit756d79cd63d78650fa03662c3dfe5b8bd3eaa393
tree78ec2196a4c48163fd1d6021fc4b29261928e809
parent8150beac7ced4e35fef7a8db71caee72d455f180
lscpu: fix compiler warnings

The string format is not being passed triggering:

    lscpu.c: In function ‘read_hypervisor’:
    lscpu.c:545:4: warning: format not a string literal and no format arguments
    lscpu.c: In function ‘get_cell_header’:
    lscpu.c:904:2: warning: format not a string literal and no format arguments
    lscpu.c:904:2: warning: format not a string literal and no format arguments

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
sys-utils/lscpu.c