Date: Mon, 2 Apr 2007 20:55:32 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 117220 for review Message-ID: <200704022055.l32KtWuM077299@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=117220 Change 117220 by rdivacky@rdivacky_witten on 2007/04/02 20:55:01 Use kern_close instead of close(). Pointed out by: jhb Affected files ... .. //depot/projects/linuxolator/src/sys/compat/linux/linux_stats.c#9 edit Differences ... ==== //depot/projects/linuxolator/src/sys/compat/linux/linux_stats.c#9 (text+ko) ==== @@ -601,7 +601,6 @@ int error; char *newpath, *oldpath, *freebuf = NULL, *path; int fd; - struct close_args cargs; struct stat buf; /* open the file */ @@ -637,8 +636,7 @@ error = stat64_copyout(&buf, args->statbuf); /* close the opened file */ - cargs.fd = fd; - close(td, &cargs); + kern_close(td, fd); return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704022055.l32KtWuM077299>