(backport) 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)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Thu, 25 Jan 2024 10:55:12 +0000 (11:55 +0100)
commitf6805cca2599a855f239126d846ddce3faf6c434
tree4662201cca60ae8e95f79276b26d1eda0c114490
parent8a0c9c86604ad4f4608c8a3f7a861089f68b4dd4
(backport) 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

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