Changes by: cha0smaster
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3447/ntfsprogs
Modified Files:
ntfsmount.c
Log Message:
Use gete{u,g}id instead of get{u,g}id. (Thanks to Anton for suggestion.)
Index: ntfsmount.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/ntfsmount.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- ntfsmount.c 3 Jul 2005 12:14:57 -0000 1.3
+++ ntfsmount.c 3 Jul 2005 13:07:15 -0000 1.4
@@ -598,8 +598,8 @@ static int ntfs_fuse_init(void)
}
*ctx = (ntfs_fuse_context_t) {
.state = NF_FreeClustersOutdate | NF_FreeMFTOutdate,
- .uid = getuid(),
- .gid = getgid(),
+ .uid = geteuid(),
+ .gid = getegid(),
.fmask = 0111,
};
return 0;
|