diff options
Diffstat (limited to 'contrib/amd/fsinfo/fsi_util.c')
-rw-r--r-- | contrib/amd/fsinfo/fsi_util.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/amd/fsinfo/fsi_util.c b/contrib/amd/fsinfo/fsi_util.c index f3fe793..e619bd9 100644 --- a/contrib/amd/fsinfo/fsi_util.c +++ b/contrib/amd/fsinfo/fsi_util.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997-1999 Erez Zadok + * Copyright (c) 1997-2001 Erez Zadok * Copyright (c) 1989 Jan-Simon Pendry * Copyright (c) 1989 Imperial College of Science, Technology & Medicine * Copyright (c) 1989 The Regents of the University of California. @@ -35,7 +35,7 @@ * * %W% (Berkeley) %G% * - * $Id: fsi_util.c,v 1.2 1999/01/10 21:54:28 ezk Exp $ + * $Id: fsi_util.c,v 1.3.2.2 2001/01/10 03:23:33 ezk Exp $ * */ @@ -115,7 +115,7 @@ error(char *fmt, ...) va_start(ap, fmt); col_cleanup(0); fprintf(stderr, "%s: Error, ", progname); - fprintf(stderr, fmt, ap); + vfprintf(stderr, fmt, ap); fputc('\n', stderr); errors++; va_end(ap); @@ -130,7 +130,7 @@ lerror(ioloc *l, char *fmt, ...) va_start(ap, fmt); col_cleanup(0); fprintf(stderr, "%s:%d: ", l->i_file, l->i_line); - fprintf(stderr, fmt, ap); + vfprintf(stderr, fmt, ap); fputc('\n', stderr); errors++; va_end(ap); @@ -145,7 +145,7 @@ lwarning(ioloc *l, char *fmt, ...) va_start(ap, fmt); col_cleanup(0); fprintf(stderr, "%s:%d: ", l->i_file, l->i_line); - fprintf(stderr, fmt, ap); + vfprintf(stderr, fmt, ap); fputc('\n', stderr); va_end(ap); } @@ -159,7 +159,7 @@ fatal(char *fmt, ...) va_start(ap, fmt); col_cleanup(1); fprintf(stderr, "%s: Fatal, ", progname); - fprintf(stderr, fmt, ap); + vfprintf(stderr, fmt, ap); fputc('\n', stderr); va_end(ap); exit(1); @@ -178,7 +178,7 @@ log(char *fmt, ...) va_start(ap, fmt); fputc('#', stdout); fprintf(stdout, "%s: ", progname); - fprintf(stdout, fmt, ap); + vfprintf(stdout, fmt, ap); putc('\n', stdout); va_end(ap); } |