HomeFreeBSD

Fix printing of non-numeric sysctl variables

Description

Fix printing of non-numeric sysctl variables

In OpenZFS there are several new sysctl variables with non-numeric values
that caused warning messages when trying to print them with a "%d" format.

Fix this by detecting non-numeric values and printing them with "%s".

Reported by: David Schlachter

Details

Provenance
seAuthored on
Parents
rP566604: databases/pspg: Update to 4.3.0
Branches
Unknown
Tags
Unknown