Module Name: src
Committed By: mlelstv
Date: Sun Apr 26 08:56:19 UTC 2015
Modified Files:
src/libexec/utmp_update: utmp_update.c
Log Message:
Use verrx with a va_list.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/libexec/utmp_update/utmp_update.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/utmp_update/utmp_update.c
diff -u src/libexec/utmp_update/utmp_update.c:1.12 src/libexec/utmp_update/utmp_update.c:1.13
--- src/libexec/utmp_update/utmp_update.c:1.12 Sun Apr 26 08:03:05 2015
+++ src/libexec/utmp_update/utmp_update.c Sun Apr 26 08:56:19 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: utmp_update.c,v 1.12 2015/04/26 08:03:05 mlelstv Exp $ */
+/* $NetBSD: utmp_update.c,v 1.13 2015/04/26 08:56:19 mlelstv Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: utmp_update.c,v 1.12 2015/04/26 08:03:05 mlelstv Exp $");
+__RCSID("$NetBSD: utmp_update.c,v 1.13 2015/04/26 08:56:19 mlelstv Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -65,7 +65,7 @@ logerr(int e, const char *fmt, ...)
va_copy(eap, sap);
vsyslog(LOG_ERR, fmt, sap);
va_end(sap);
- errx(1, fmt, eap);
+ verrx(1, fmt, eap);
va_end(eap);
}