From 757ad9c1550c188ad99ec333a1b5628a2b6d5097 Mon Sep 17 00:00:00 2001 From: deraadt Date: Fri, 13 Sep 1996 06:45:49 +0000 Subject: [PATCH] typo --- libexec/rpc.lockd/procs.c | 2 +- usr.sbin/rpc.lockd/procs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/rpc.lockd/procs.c b/libexec/rpc.lockd/procs.c index 9833d5a7074..ffb7508b034 100644 --- a/libexec/rpc.lockd/procs.c +++ b/libexec/rpc.lockd/procs.c @@ -58,7 +58,7 @@ static void log_from_addr(char *fun_name, struct svc_req *req) { struct sockaddr_in *addr; struct hostent *host; - char hostname_buf[MAXHOSTNAMELEN; + char hostname_buf[MAXHOSTNAMELEN]; addr = svc_getcaller(req->rq_xprt); host = gethostbyaddr((char *)&(addr->sin_addr), addr->sin_len, AF_INET); diff --git a/usr.sbin/rpc.lockd/procs.c b/usr.sbin/rpc.lockd/procs.c index 9833d5a7074..ffb7508b034 100644 --- a/usr.sbin/rpc.lockd/procs.c +++ b/usr.sbin/rpc.lockd/procs.c @@ -58,7 +58,7 @@ static void log_from_addr(char *fun_name, struct svc_req *req) { struct sockaddr_in *addr; struct hostent *host; - char hostname_buf[MAXHOSTNAMELEN; + char hostname_buf[MAXHOSTNAMELEN]; addr = svc_getcaller(req->rq_xprt); host = gethostbyaddr((char *)&(addr->sin_addr), addr->sin_len, AF_INET); -- 2.20.1