about summary refs log tree commit diff
path: root/manual/filesys.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-07 11:00:44 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-07 11:00:44 +0000
commit0163d97b8c55bc320c7d867d02ca37badabd1f7c (patch)
treeb54a8e7aaf7c2e8d89b10ad0657c2f9c8537a5fd /manual/filesys.texi
parentcc9b1d461e8e4085e762f51c4b1525dd93d0e4f9 (diff)
downloadglibc-0163d97b8c55bc320c7d867d02ca37badabd1f7c.tar.gz
glibc-0163d97b8c55bc320c7d867d02ca37badabd1f7c.tar.xz
glibc-0163d97b8c55bc320c7d867d02ca37badabd1f7c.zip
Update.
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.
Diffstat (limited to 'manual/filesys.texi')
-rw-r--r--manual/filesys.texi3
1 files changed, 2 insertions, 1 deletions
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