Files
heimdal/lib/roken/vwarn.c
Assar Westerlund b0f6df58d7 Added lots of Id:s
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@689 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-08-26 22:48:24 +00:00

23 lines
344 B
C

#ifdef HAVE_CONFIG_H
#include <config.h>
RCSID("$Id$");
#endif
#include "err.h"
void
vwarn(const char *fmt, va_list ap)
{
int sverrno;
sverrno = errno;
#if 0
fprintf(stderr, "%s: ", __progname);
#endif
if (fmt != NULL) {
vfprintf(stderr, fmt, ap);
fprintf(stderr, ": ");
}
fprintf(stderr, "%s\n", strerror(sverrno));
}