diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-10-05 15:50:13 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2007-10-05 15:50:13 +0000 |
commit | 88dc73ac0e34bdafcb97aa7a0464fa7c341281d6 (patch) | |
tree | 1646ef0e410bfe010c4e1aa20d791bad437127fb /usr.sbin/hoststated | |
parent | 475b0493648edd4c163df8655f9240a29e9cdef7 (diff) |
using an enum in the imsg_hdr is gross, use a fixed u_int16_t instead
Diffstat (limited to 'usr.sbin/hoststated')
-rw-r--r-- | usr.sbin/hoststated/hoststated.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/hoststated/hoststated.h b/usr.sbin/hoststated/hoststated.h index b1b6f8ced76..7badae8f4c8 100644 --- a/usr.sbin/hoststated/hoststated.h +++ b/usr.sbin/hoststated/hoststated.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hoststated.h,v 1.65 2007/10/02 21:04:13 pyr Exp $ */ +/* $OpenBSD: hoststated.h,v 1.66 2007/10/05 15:50:12 reyk Exp $ */ /* * Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -148,7 +148,7 @@ enum imsg_type { }; struct imsg_hdr { - enum imsg_type type; + u_int16_t type; u_int16_t len; u_int32_t peerid; pid_t pid; |