Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/ptyfs fix the mystery of the bad directory times.



details:   https://anonhg.NetBSD.org/src/rev/a0ea286b2012
branches:  trunk
changeset: 782255:a0ea286b2012
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Oct 23 23:31:00 2012 +0000

description:
fix the mystery of the bad directory times.

diffstat:

 sys/fs/ptyfs/ptyfs_subr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b43330f8eb6b -r a0ea286b2012 sys/fs/ptyfs/ptyfs_subr.c
--- a/sys/fs/ptyfs/ptyfs_subr.c Tue Oct 23 23:16:05 2012 +0000
+++ b/sys/fs/ptyfs/ptyfs_subr.c Tue Oct 23 23:31:00 2012 +0000
@@ -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 @@
        }
 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;



Home | Main Index | Thread Index | Old Index