Module Name:    src
Committed By:   christos
Date:           Tue Oct 23 23:31:01 UTC 2012

Modified Files:
        src/sys/fs/ptyfs: ptyfs_subr.c

Log Message:
fix the mystery of the bad directory times.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/fs/ptyfs/ptyfs_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/fs/ptyfs/ptyfs_subr.c
diff -u src/sys/fs/ptyfs/ptyfs_subr.c:1.23 src/sys/fs/ptyfs/ptyfs_subr.c:1.24
--- src/sys/fs/ptyfs/ptyfs_subr.c:1.23	Sat Jun 11 23:35:53 2011
+++ src/sys/fs/ptyfs/ptyfs_subr.c	Tue Oct 23 19:31:00 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: ptyfs_subr.c,v 1.23 2011/06/12 03:35:53 rmind Exp $	*/
+/*	$NetBSD: ptyfs_subr.c,v 1.24 2012/10/23 23:31:00 christos Exp $	*/
 
 /*
  * Copyright (c) 1993
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ptyfs_subr.c,v 1.23 2011/06/12 03:35:53 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ptyfs_subr.c,v 1.24 2012/10/23 23:31:00 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -174,7 +174,7 @@ ptyfs_getinfo(struct ptyfsnode *ptyfs, s
 	}
 out:
 	ptyfs->ptyfs_uid = ptyfs->ptyfs_gid = 0;
-	ptyfs->ptyfs_flags |= PTYFS_CHANGE;
+	ptyfs->ptyfs_flag |= PTYFS_CHANGE;
 	PTYFS_ITIMES(ptyfs, NULL, NULL, NULL);
 	ptyfs->ptyfs_birthtime = ptyfs->ptyfs_mtime =
 	    ptyfs->ptyfs_atime = ptyfs->ptyfs_ctime;

Reply via email to