diff options
author | 2001-09-06 01:36:04 +0000 | |
---|---|---|
committer | 2001-09-06 01:36:04 +0000 | |
commit | 0d3ca4cc5587805db694b64b4110b8a30ade4a87 (patch) | |
tree | 542e260f55d6d1aa7d86a3ce6ff4416c21eeec16 /lib/libutil/scsi.c | |
parent | missing machine/ieee.h from NetBSD (diff) | |
download | wireguard-openbsd-0d3ca4cc5587805db694b64b4110b8a30ade4a87.tar.xz wireguard-openbsd-0d3ca4cc5587805db694b64b4110b8a30ade4a87.zip |
oh this is horrible
Diffstat (limited to 'lib/libutil/scsi.c')
-rw-r--r-- | lib/libutil/scsi.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libutil/scsi.c b/lib/libutil/scsi.c index b7a6d66df36..5b2f18e2480 100644 --- a/lib/libutil/scsi.c +++ b/lib/libutil/scsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi.c,v 1.3 2001/09/05 22:32:36 deraadt Exp $ */ +/* $OpenBSD: scsi.c,v 1.4 2001/09/06 01:36:04 deraadt Exp $ */ /* Copyright (c) 1994 HD Associates * (contact: dufault@hda.com) @@ -390,7 +390,10 @@ int scsireq_buff_decode(u_char *buff, size_t len, char *fmt, ...) int scsireq_buff_decode_visit(u_char *buff, size_t len, char *fmt, void (*arg_put)(void *, int, void *, int, char *), void *puthook) { - return do_buff_decode(buff, len, arg_put, puthook, fmt, NULL); + va_list ap; + + /* XXX */ + return do_buff_decode(buff, len, arg_put, puthook, fmt, ap); } /* next_field: Return the next field in a command specifier. This |