summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-06 01:36:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-09-06 01:36:05 +0000
commitfbd3022b65fff916be370fc0f8ec99ced09227ed (patch)
tree30d8d91429240cabe792f00568a1dbeb64d30aae
parente2bcb1d6ecfbf30b9725a70da018d913a7d55cf1 (diff)
oh this is horrible
-rw-r--r--lib/libutil/scsi.c7
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