mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 08:16:59 +00:00
gnulib: add gnulib modules
Some systems, such as freebsd, does not have program_invocation_short_name
available. There are also problems finding AF_INET{,6} definitions.
CC: Peter Fraser <p_fraser@hotmail.com>
Reported-by: Ryan Steinmetz <zi@freebsd.org>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
0002aa57e6
commit
8dba1c749d
7 changed files with 20 additions and 5 deletions
|
|
@ -47,6 +47,7 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "dhcpd-pools.h"
|
||||
#include "progname.h"
|
||||
|
||||
/*! \brief Compare IP address, with IPv4/v6 determination.
|
||||
* \param a Binary IP address.
|
||||
|
|
@ -216,7 +217,7 @@ comparer_t field_selector(char c)
|
|||
default:
|
||||
warnx("field_selector: unknown sort order `%c'", c);
|
||||
errx(EXIT_FAILURE, "Try `%s --help' for more information.",
|
||||
program_invocation_short_name);
|
||||
program_name);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue