diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-07 01:31:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-07 01:31:39 +0000 |
commit | fc71ca27a98e4913be0467ff75270ea995253384 (patch) | |
tree | 910de78929bddb55ad54fe54865725ec08388a00 | |
parent | 3394e5e148bf2cf903cba3980e82b3915e328843 (diff) |
repair local operations after the -DRMT changes; from Matthew Clarke
-rw-r--r-- | bin/mt/mt.c | 4 |
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 * |