library: correct one reference typo in that <PIDS> api

This patch will just correct an oops introduced in the
commit shown below. Thank goodness both 'str' & 'strv'
occupy the same storage location in that result union.

Reference(s):
. standardize 'errno' management
commit 06be33b43e

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2019-09-26 00:00:00 -05:00 committed by Craig Small
parent e7995652be
commit 11df806a7c

View File

@ -133,7 +133,7 @@ static void freNAME(strv) (struct pids_result *R) {
freNAME(strv)(R); \
if (NULL != P-> x) { R->result.strv = P-> x; P-> x = NULL; } \
else { R->result.strv = vectorize_this_str("[ duplicate " STRINGIFY(e) " ]"); \
if (!R->result.str) I->seterr = 1; } }
if (!R->result.strv) I->seterr = 1; } }
setDECL(noop) { (void)I; (void)R; (void)P; }