about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--stdio/fseek.c2
-rw-r--r--sysdeps/mach/hurd/setitimer.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index dbee7a64a6..079b737c5b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
 Thu Aug 29 12:00:30 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
+	
+	* sysdeps/mach/hurd/setitimer.c (setitimer_locked): Correct
+ 	spelling error of _hurd_itimerval.
 
 	* mach/Makefile (MIGFLAGS-mach/mach4): Define variable.
   	mach/Machrules (mig.uh, mig.__h): Include $(user-MIGFLAGS) and
diff --git a/stdio/fseek.c b/stdio/fseek.c
index 562b7b3cb6..947e4657ca 100644
--- a/stdio/fseek.c
+++ b/stdio/fseek.c
@@ -42,7 +42,7 @@ DEFUN(fseek, (stream, offset, whence),
     return EOF;
 
   /* Make sure we know the current offset info.  */
-  stream.__offset = -1;
+  stream->__offset = -1;
   if (__stdio_check_offset (stream) == EOF)
     return EOF;
 
diff --git a/sysdeps/mach/hurd/setitimer.c b/sysdeps/mach/hurd/setitimer.c
index 479b3273c3..0b2ace3f4c 100644
--- a/sysdeps/mach/hurd/setitimer.c
+++ b/sysdeps/mach/hurd/setitimer.c
@@ -159,7 +159,7 @@ setitimer_locked (const struct itimerval *new, struct itimerval *old,
       /* Just return the current value in OLD without changing anything.
 	 This is what BSD does, even though it's not documented. */
       if (old)
-	*old = _hurd_itemerval;
+	*old = _hurd_itimerval;
       spin_unlock (&_hurd_itimer_lock);
       _hurd_critical_section_unlock (crit);
       return 0;