diff options
author | Gleydson Soares <gsoares@cvs.openbsd.org> | 2012-07-13 02:31:47 +0000 |
---|---|---|
committer | Gleydson Soares <gsoares@cvs.openbsd.org> | 2012-07-13 02:31:47 +0000 |
commit | 4ef2291a43dea32240e24c2a0d41ae35429c7c75 (patch) | |
tree | 33045345c9bcef46be8724d09208000e193ee16a /usr.sbin/tftpd | |
parent | 5e13b6db2bd237242c283d5409fcdf868624d0f0 (diff) |
zap trailing whitespace; no binary change
ok dlg
Diffstat (limited to 'usr.sbin/tftpd')
-rw-r--r-- | usr.sbin/tftpd/tftpd.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/tftpd/tftpd.c b/usr.sbin/tftpd/tftpd.c index c4ecf2eaaf8..f2a0582cd37 100644 --- a/usr.sbin/tftpd/tftpd.c +++ b/usr.sbin/tftpd/tftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tftpd.c,v 1.7 2012/07/10 07:25:37 dlg Exp $ */ +/* $OpenBSD: tftpd.c,v 1.8 2012/07/13 02:31:46 gsoares Exp $ */ /* * Copyright (c) 2012 David Gwynne <dlg@uq.edu.au> @@ -214,7 +214,7 @@ struct errmsg { { -1, NULL } }; -struct loggers { +struct loggers { void (*err)(int, const char *, ...); void (*errx)(int, const char *, ...); void (*warn)(const char *, ...); @@ -294,7 +294,7 @@ main(int argc, char *argv[]) break; case 'd': verbose = debug = 1; - break; + break; case 'l': addr = optarg; break; @@ -1527,15 +1527,15 @@ syslog_vstrerror(int e, int priority, const char *fmt, va_list ap) syslog(LOG_EMERG, "unable to alloc in syslog_vstrerror"); exit(1); } - + syslog(priority, "%s: %s", s, strerror(e)); - + free(s); } - + void syslog_err(int ecode, const char *fmt, ...) -{ +{ va_list ap; va_start(ap, fmt); |