fix compilation issues.
This commit is contained in:
parent
524dd7b3c3
commit
bec987f94b
@ -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
|
* 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 ? ":" : "");
|
snprintf(ybuf, sizeof(ybuf), "SUP@%s%s ", hostname, f ? ":" : "");
|
||||||
vsnprintf(xbuf, sizeof(xbuf), fmt, ap);
|
vsnprintf(xbuf, sizeof(xbuf), fmt, ap);
|
||||||
snprintf(buf, bufsiz, "%s%s", ybuf, xbuf);
|
snprintf(buf, bufsiz, "%s%s", ybuf, xbuf);
|
||||||
return buf;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
* Copyright (c) 1992 Carnegie Mellon University
|
||||||
@ -375,7 +375,7 @@ struct hostpid {
|
|||||||
pid_t pid;
|
pid_t pid;
|
||||||
} *hp;
|
} *hp;
|
||||||
|
|
||||||
static int
|
static void
|
||||||
addchild(pid_t pid)
|
addchild(pid_t pid)
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
|
Loading…
Reference in New Issue
Block a user