fix compilation issues.

This commit is contained in:
christos 2013-03-08 20:58:35 +00:00
parent 524dd7b3c3
commit bec987f94b
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: log.c,v 1.11 2013/03/08 20:56:44 christos Exp $ */
/* $NetBSD: log.c,v 1.12 2013/03/08 20:58:35 christos Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@ -72,7 +72,7 @@ vfmtbuf(int f, char *buf, size_t bufsiz, const char *fmt, va_list ap)
snprintf(ybuf, sizeof(ybuf), "SUP@%s%s ", hostname, f ? ":" : "");
vsnprintf(xbuf, sizeof(xbuf), fmt, ap);
snprintf(buf, bufsiz, "%s%s", ybuf, xbuf);
return buf;
return;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: supfilesrv.c,v 1.48 2013/03/08 20:56:44 christos Exp $ */
/* $NetBSD: supfilesrv.c,v 1.49 2013/03/08 20:58:35 christos Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@ -375,7 +375,7 @@ struct hostpid {
pid_t pid;
} *hp;
static int
static void
addchild(pid_t pid)
{
size_t i;