summaryrefslogtreecommitdiff
path: root/usr.sbin/apmd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-06 19:46:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-06 19:46:54 +0000
commit9b53e9ca8640f563833e342f07ff3f93b7547231 (patch)
treee11e35259d32805d4ed381b70e61d082e212608e /usr.sbin/apmd
parent5efcea53a88b922145cd2461d78968fcf420274e (diff)
use more socklen_t; pvalchev
Diffstat (limited to 'usr.sbin/apmd')
-rw-r--r--usr.sbin/apmd/apmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/apmd/apmd.c b/usr.sbin/apmd/apmd.c
index d5a4c056327..a0f6b55bbda 100644
--- a/usr.sbin/apmd/apmd.c
+++ b/usr.sbin/apmd/apmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apmd.c,v 1.26 2002/07/04 07:31:16 deraadt Exp $ */
+/* $OpenBSD: apmd.c,v 1.27 2002/09/06 19:46:52 deraadt Exp $ */
/*
* Copyright (c) 1995, 1996 John T. Kohl
@@ -211,7 +211,7 @@ handle_client(int sock_fd, int ctl_fd)
/* accept a handle from the client, process it, then clean up */
int cli_fd;
struct sockaddr_un from;
- int fromlen;
+ socklen_t fromlen;
struct apm_command cmd;
struct apm_reply reply;