summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/imsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntpd/imsg.c')
-rw-r--r--usr.sbin/ntpd/imsg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ntpd/imsg.c b/usr.sbin/ntpd/imsg.c
index 9c62dc0d059..99e46297840 100644
--- a/usr.sbin/ntpd/imsg.c
+++ b/usr.sbin/ntpd/imsg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: imsg.c,v 1.9 2005/03/09 14:07:00 henning Exp $ */
+/* $OpenBSD: imsg.c,v 1.10 2005/03/23 10:42:04 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -57,8 +57,7 @@ imsg_read(struct imsgbuf *ibuf)
int
imsg_get(struct imsgbuf *ibuf, struct imsg *imsg)
{
- ssize_t datalen = 0;
- size_t av, left;
+ size_t av, left, datalen;
av = ibuf->r.wpos;