Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2007 22:49:11 GMT
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 112953 for review
Message-ID:  <200701152249.l0FMnB1i031765@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=112953

Change 112953 by jkim@jkim_hammer on 2007/01/15 22:48:53

	Remove unused len and fix build on amd64.

Affected files ...

.. //depot/projects/linuxolator/src/sys/compat/linux/linux_file.c#10 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/compat/linux/linux_file.c#10 (text+ko) ====

@@ -206,10 +206,10 @@
 linux_openat(struct thread *td, struct linux_openat_args *args)
 {
    	char *newpath, *oldpath, *freebuf = NULL, *path;
-	int error, len;
+	int error;
 
 	oldpath = malloc(MAXPATHLEN, M_TEMP, M_WAITOK);
-	error = copyinstr(args->filename, oldpath, MAXPATHLEN, &len);
+	error = copyinstr(args->filename, oldpath, MAXPATHLEN, NULL);
 
 #ifdef DEBUG
 	if (ldebug(openat))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701152249.l0FMnB1i031765>