summaryrefslogtreecommitdiff
path: root/usr.sbin/apmd/apmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/apmd/apmd.c')
-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;