summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-07 01:31:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-07 01:31:39 +0000
commitfc71ca27a98e4913be0467ff75270ea995253384 (patch)
tree910de78929bddb55ad54fe54865725ec08388a00 /bin
parent3394e5e148bf2cf903cba3980e82b3915e328843 (diff)
repair local operations after the -DRMT changes; from Matthew Clarke
Diffstat (limited to 'bin')
-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 *