While building in poudriere, the following error occurs:
lockfile-progs.c:312:7: error: expected expression
312 | char *err = 0L;
| ^
lockfile-progs.c:313:26: error: use of undeclared identifier 'err'
313 | int rc = asprintf(&err, "unrecognized error status (%d)", status);
| ^
lockfile-progs.c:319:14: error: use of undeclared identifier 'err'
319 | return err;
| ^This small patch addresses this problem.