summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-02-27 18:50:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-02-27 18:50:10 +0000
commit420ce8bf170eaff4099ea17f0146b3fbddcc8818 (patch)
tree4d5958961f8ca0800ab22172a2d5ed52027ac6cc
parent4a611e417604c98955460ceb9293c866488ed8be (diff)
rename a cpp symbol, to avoid param.h collision
-rw-r--r--usr.bin/ssh/log-client.c6
-rw-r--r--usr.bin/ssh/log-server.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/ssh/log-client.c b/usr.bin/ssh/log-client.c
index 62709d96cdc..9e20a313afc 100644
--- a/usr.bin/ssh/log-client.c
+++ b/usr.bin/ssh/log-client.c
@@ -15,7 +15,7 @@
*/
#include "includes.h"
-RCSID("$Id: log-client.c,v 1.6 1999/11/24 00:26:02 deraadt Exp $");
+RCSID("$Id: log-client.c,v 1.7 2000/02/27 18:50:09 deraadt Exp $");
#include "xmalloc.h"
#include "ssh.h"
@@ -45,12 +45,12 @@ log_init(char *av0, LogLevel level, SyslogFacility ignored1, int ignored2)
}
}
-#define MSGBUFSIZE 1024
+#define MSGBUFSIZ 1024
void
do_log(LogLevel level, const char *fmt, va_list args)
{
- char msgbuf[MSGBUFSIZE];
+ char msgbuf[MSGBUFSIZ];
if (level > log_level)
return;
diff --git a/usr.bin/ssh/log-server.c b/usr.bin/ssh/log-server.c
index 52f56a307e8..124d7fe6b69 100644
--- a/usr.bin/ssh/log-server.c
+++ b/usr.bin/ssh/log-server.c
@@ -15,7 +15,7 @@
*/
#include "includes.h"
-RCSID("$Id: log-server.c,v 1.11 1999/11/24 00:26:02 deraadt Exp $");
+RCSID("$Id: log-server.c,v 1.12 2000/02/27 18:50:09 deraadt Exp $");
#include <syslog.h>
#include "packet.h"
@@ -91,13 +91,13 @@ log_init(char *av0, LogLevel level, SyslogFacility facility, int on_stderr)
log_on_stderr = on_stderr;
}
-#define MSGBUFSIZE 1024
+#define MSGBUFSIZ 1024
void
do_log(LogLevel level, const char *fmt, va_list args)
{
- char msgbuf[MSGBUFSIZE];
- char fmtbuf[MSGBUFSIZE];
+ char msgbuf[MSGBUFSIZ];
+ char fmtbuf[MSGBUFSIZ];
char *txt = NULL;
int pri = LOG_INFO;
extern char *__progname;