summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--term/ChangeLog4
-rw-r--r--term/users.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/term/ChangeLog b/term/ChangeLog
index cd45f9de..d2aa3126 100644
--- a/term/ChangeLog
+++ b/term/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jun 9 12:19:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * users.c (trivfs_S_file_chmod): Fix typo.
+
Tue May 27 12:04:00 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* users.c (trivfs_S_file_chmod): Turn off S_ISPARE too.
diff --git a/term/users.c b/term/users.c
index bb02eeeb..17e89a01 100644
--- a/term/users.c
+++ b/term/users.c
@@ -499,7 +499,7 @@ trivfs_S_file_chmod (struct trivfs_protid *cred,
mode &= ~S_ISUID;
}
- term_mode = ((mode & ~S_IFMT & ~S_ITRANS & ~S_IPARE) | S_IFCHR | S_IROOT);
+ term_mode = ((mode & ~S_IFMT & ~S_ITRANS & ~S_ISPARE) | S_IFCHR | S_IROOT);
err = 0;
out: