diff options
author | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2009-06-06 05:52:02 +0000 |
---|---|---|
committer | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2009-06-06 05:52:02 +0000 |
commit | 8d0733a46ab21b9a74bb53e474cab34e0e458771 (patch) | |
tree | e95f633833861d3b804667bdb7cb0eb67331294b /usr.sbin/snmpctl/parser.c | |
parent | f4e5d68bcd3927bf4124d5b83fe246911d8c0c92 (diff) |
sync snmpd with the common imsg code, making it lib ready as well.
ok eric@
Diffstat (limited to 'usr.sbin/snmpctl/parser.c')
-rw-r--r-- | usr.sbin/snmpctl/parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/snmpctl/parser.c b/usr.sbin/snmpctl/parser.c index 74224408fe0..67d7cf2dbdf 100644 --- a/usr.sbin/snmpctl/parser.c +++ b/usr.sbin/snmpctl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.7 2008/01/18 13:23:02 reyk Exp $ */ +/* $OpenBSD: parser.c,v 1.8 2009/06/06 05:52:00 pyr Exp $ */ /* * Copyright (c) 2008 Reyk Floeter <reyk@vantronix.net> @@ -240,7 +240,7 @@ match_token(char *word, const struct token table[]) (ibuf = malloc(sizeof(struct imsgbuf))) == NULL) err(1, "malloc"); res.ibuf = ibuf; - imsg_init(ibuf, -1, NULL); + imsg_init(ibuf, -1); /* Create a new trap */ imsg_compose(ibuf, IMSG_SNMP_TRAP, |