diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
commit | 76b5366091f76c9bc73570149ef5055648fc2c39 (patch) | |
tree | 590d020e0f2a5bea6e09d66d951a674443b21d67 /sys/i386/linux/linux_file.c | |
parent | 4b4d01da6f07f7754ff6a6e4f5223e9f0984d1a6 (diff) |
Notes
Diffstat (limited to 'sys/i386/linux/linux_file.c')
-rw-r--r-- | sys/i386/linux/linux_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/linux/linux_file.c b/sys/i386/linux/linux_file.c index 16f12ed4d7be..6a80d4c5ec66 100644 --- a/sys/i386/linux/linux_file.c +++ b/sys/i386/linux/linux_file.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux_file.c,v 1.22 1998/10/05 16:37:36 jfieber Exp $ + * $Id: linux_file.c,v 1.21 1998/07/29 16:43:00 bde Exp $ */ #include "opt_compat.h" @@ -812,7 +812,7 @@ linux_readlink(struct proc *p, struct linux_readlink_args *args) int linux_truncate(struct proc *p, struct linux_truncate_args *args) { - struct truncate_args bsd; + struct otruncate_args bsd; caddr_t sg; sg = stackgap_init(); @@ -825,6 +825,6 @@ linux_truncate(struct proc *p, struct linux_truncate_args *args) bsd.path = args->path; bsd.length = args->length; - return truncate(p, &bsd); + return otruncate(p, &bsd); } |