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:
parent
e7995652be
commit
11df806a7c
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user