Module Name: othersrc Committed By: lukem Date: Wed Jan 23 02:44:57 UTC 2019
Modified Files: othersrc/libexec/tnftpd/libnetbsd: err.c Log Message: whitespace fixup consistent tab indenting, not a mix of spaces and tabs To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 othersrc/libexec/tnftpd/libnetbsd/err.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: othersrc/libexec/tnftpd/libnetbsd/err.c diff -u othersrc/libexec/tnftpd/libnetbsd/err.c:1.3 othersrc/libexec/tnftpd/libnetbsd/err.c:1.4 --- othersrc/libexec/tnftpd/libnetbsd/err.c:1.3 Sun Sep 21 16:35:25 2008 +++ othersrc/libexec/tnftpd/libnetbsd/err.c Wed Jan 23 02:44:57 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: err.c,v 1.3 2008/09/21 16:35:25 lukem Exp $ */ +/* $NetBSD: err.c,v 1.4 2019/01/23 02:44:57 lukem Exp $ */ /* * Copyright 1997-2002 Luke Mewburn <lu...@netbsd.org>. @@ -34,61 +34,61 @@ extern char *__progname; void err(int eval, const char *fmt, ...) { - va_list ap; - int sverrno; + va_list ap; + int sverrno; sverrno = errno; - (void)fprintf(stderr, "%s: ", __progname); + (void)fprintf(stderr, "%s: ", __progname); va_start(ap, fmt); - if (fmt != NULL) { - (void)vfprintf(stderr, fmt, ap); - (void)fprintf(stderr, ": "); - } + if (fmt != NULL) { + (void)vfprintf(stderr, fmt, ap); + (void)fprintf(stderr, ": "); + } va_end(ap); - (void)fprintf(stderr, "%s\n", strerror(sverrno)); - exit(eval); + (void)fprintf(stderr, "%s\n", strerror(sverrno)); + exit(eval); } void errx(int eval, const char *fmt, ...) { - va_list ap; + va_list ap; - (void)fprintf(stderr, "%s: ", __progname); + (void)fprintf(stderr, "%s: ", __progname); va_start(ap, fmt); - if (fmt != NULL) - (void)vfprintf(stderr, fmt, ap); + if (fmt != NULL) + (void)vfprintf(stderr, fmt, ap); va_end(ap); - (void)fprintf(stderr, "\n"); - exit(eval); + (void)fprintf(stderr, "\n"); + exit(eval); } void warn(const char *fmt, ...) { - va_list ap; - int sverrno; + va_list ap; + int sverrno; sverrno = errno; - (void)fprintf(stderr, "%s: ", __progname); + (void)fprintf(stderr, "%s: ", __progname); va_start(ap, fmt); - if (fmt != NULL) { - (void)vfprintf(stderr, fmt, ap); - (void)fprintf(stderr, ": "); - } + if (fmt != NULL) { + (void)vfprintf(stderr, fmt, ap); + (void)fprintf(stderr, ": "); + } va_end(ap); - (void)fprintf(stderr, "%s\n", strerror(sverrno)); + (void)fprintf(stderr, "%s\n", strerror(sverrno)); } void warnx(const char *fmt, ...) { - va_list ap; + va_list ap; - (void)fprintf(stderr, "%s: ", __progname); + (void)fprintf(stderr, "%s: ", __progname); va_start(ap, fmt); - if (fmt != NULL) - (void)vfprintf(stderr, fmt, ap); + if (fmt != NULL) + (void)vfprintf(stderr, fmt, ap); va_end(ap); - (void)fprintf(stderr, "\n"); + (void)fprintf(stderr, "\n"); }