summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/mt/mt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mt/mt.c b/bin/mt/mt.c
index 499018d250b..9d7f65f60c5 100644
--- a/bin/mt/mt.c
+++ b/bin/mt/mt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mt.c,v 1.31 2009/10/28 05:17:19 deraadt Exp $ */
+/* $OpenBSD: mt.c,v 1.32 2009/11/07 01:31:38 deraadt Exp $ */
/* $NetBSD: mt.c,v 1.14.2.1 1996/05/27 15:12:11 mrg Exp $ */
/*
@@ -102,7 +102,7 @@ _rmtioctl(int fd, long req, struct mtop *com)
if (host)
return rmtioctl(com->mt_op, com->mt_count);
#endif
- return ioctl(fd, MTIOCTOP, &com);
+ return ioctl(fd, MTIOCTOP, com);
}
struct mtget *