Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/utmp_update Use verrx with a va_list.
details: https://anonhg.NetBSD.org/src/rev/393f661b8347
branches: trunk
changeset: 337748:393f661b8347
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Sun Apr 26 08:56:19 2015 +0000
description:
Use verrx with a va_list.
diffstat:
libexec/utmp_update/utmp_update.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bc6b608ec877 -r 393f661b8347 libexec/utmp_update/utmp_update.c
--- a/libexec/utmp_update/utmp_update.c Sun Apr 26 08:03:05 2015 +0000
+++ b/libexec/utmp_update/utmp_update.c Sun Apr 26 08:56:19 2015 +0000
@@ -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 @@
va_copy(eap, sap);
vsyslog(LOG_ERR, fmt, sap);
va_end(sap);
- errx(1, fmt, eap);
+ verrx(1, fmt, eap);
va_end(eap);
}
Home |
Main Index |
Thread Index |
Old Index