Formerly ../stdio/fmemopen.c.~13~
authorroland <roland>
Wed, 1 Jul 1992 05:08:57 +0000 (05:08 +0000)
committerroland <roland>
Wed, 1 Jul 1992 05:08:57 +0000 (05:08 +0000)
stdio/fmemopen.c

index e6991bc..822ce37 100644 (file)
@@ -98,7 +98,7 @@ DEFUN(fmemopen, (s, len, mode),
       if (p == NULL)
        stream->__bufp = stream->__get_limit;
       else
-       stream->bufp = p;
+       stream->__bufp = p;
     }
   else if (stream->__mode.__truncate)
     memset ((PTR) stream->__buffer, 0, len);