From: Sami Kerola Date: Sat, 22 Jan 2011 20:29:48 +0000 (+0100) Subject: Not a syscall error, warn should be warnx. X-Git-Tag: v2.14~12 X-Git-Url: http://git.asbjorn.biz/?p=debian%2Fdhcpd-pools.git;a=commitdiff_plain;h=9169422e9bceb599afe2d09d90efc1b06cbc8fa9 Not a syscall error, warn should be warnx. Signed-off-by: Sami Kerola --- diff --git a/src/dhcpd-pools.c b/src/dhcpd-pools.c index 481472c..ff8e552 100644 --- a/src/dhcpd-pools.c +++ b/src/dhcpd-pools.c @@ -117,7 +117,7 @@ int main(int argc, char **argv) /* Output sorting option */ sorts = strlen(optarg); if (5 < sorts) { - warn("main: only first 5 sort orders will be used"); + warnx("main: only first 5 sort orders will be used"); strncpy(config.sort, optarg, (size_t) 5); sorts = 5; } else {