]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysctl: Don't pass null directive argument to '%s'
authorKhem Raj <raj.khem@gmail.com>
Mon, 17 Dec 2018 04:53:38 +0000 (20:53 -0800)
committerKhem Raj <raj.khem@gmail.com>
Mon, 17 Dec 2018 05:01:39 +0000 (21:01 -0800)
commitbfc4183ea995f1c211385d066cdb1fe9ce89f621
tree3bed747051b6535c29c17358c7e1047edb4f8b08
parent45cb8247d953d2ed4a8cb550296943933bf10a1b
sysctl: Don't pass null directive argument to '%s'

value pointer here is always NULL but  subsequent use of that pointer
with a %s format will always be NULL, printing p instead would be a
valid string

Signed-off-by: Khem Raj <raj.khem@gmail.com>
src/sysctl/sysctl.c