use helpers from c.h

A few files still use the C library helpers from err.h, so migrate
them to the local c.h helpers.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger
2012-01-24 00:40:28 -05:00
committed by Sami Kerola
parent 13d8cc0681
commit afaf698896
4 changed files with 8 additions and 7 deletions

2
pwdx.c
View File

@@ -96,7 +96,7 @@ int main(int argc, char *argv[])
char buf[10 + strlen(argv[i]) + 1];
if (check_pid_argument(argv[i]))
errx(EXIT_FAILURE, _("invalid process id: %s"),
xerrx(EXIT_FAILURE, _("invalid process id: %s"),
argv[i]);
/*
* At this point, all arguments are in the form