summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-12-24 04:05:41 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-12-24 04:05:41 +0000
commitded582234c3e688e4b4d1f6ada9f67dc493ba3e6 (patch)
tree9e0040b784e3f900e4b0ae9fd13c13b52aa97e76 /usr.bin
parent15359496dd724a8f559b24cfbb0c190712179aea (diff)
we should be calling cvs_vlog(); to at least get some decent output;
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/fatal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/fatal.c b/usr.bin/cvs/fatal.c
index 43c738839fe..2943ed9a395 100644
--- a/usr.bin/cvs/fatal.c
+++ b/usr.bin/cvs/fatal.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fatal.c,v 1.2 2005/12/13 17:46:10 xsa Exp $ */
+/* $OpenBSD: fatal.c,v 1.3 2005/12/24 04:05:40 joris Exp $ */
/*
* Copyright (c) 2002 Markus Friedl. All rights reserved.
*
@@ -35,8 +35,9 @@ void
fatal(const char *fmt,...)
{
va_list args;
+
va_start(args, fmt);
- cvs_log(LP_ERR, fmt, args);
+ cvs_vlog(LP_ERR, fmt, args);
va_end(args);
exit(255);
}