about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--manual/filesys.texi3
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d776b9dd40..097fe634cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+	* manual/filesys.texi (Setting Permissions): Fix example for
+	reading umask.
+
+1998-10-07  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+	* elf/sprof.c (load_profdata): Fix typo in error message.
+
 1998-10-06  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
 
 	* sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
diff --git a/manual/filesys.texi b/manual/filesys.texi
index 302010f78f..518b9e2f5a 100644
--- a/manual/filesys.texi
+++ b/manual/filesys.texi
@@ -2190,8 +2190,9 @@ without changing it permanently:
 mode_t
 read_umask (void)
 @{
-  mask = umask (0);
+  mode_t mask = umask (0);
   umask (mask);
+  return mask;
 @}
 @end smallexample