From fc71ca27a98e4913be0467ff75270ea995253384 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 7 Nov 2009 01:31:39 +0000 Subject: repair local operations after the -DRMT changes; from Matthew Clarke --- bin/mt/mt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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 * -- cgit v1.2.3