Formerly ../stdio/__vfscanf.c.~16~
authorroland <roland>
Sun, 25 Oct 1992 09:59:26 +0000 (09:59 +0000)
committerroland <roland>
Sun, 25 Oct 1992 09:59:26 +0000 (09:59 +0000)
stdio/vfscanf.c

index 11758d1..72719e5 100644 (file)
@@ -247,7 +247,7 @@ DEFUN(__vfscanf, (s, format, arg),
              if (malloc_string)                                              \
                {                                                             \
                  /* The string is to be stored in a malloc'd buffer.  */     \
-                 strptr = va_arg (arg, char *);                              \
+                 strptr = va_arg (arg, char **);                             \
                  if (strptr == NULL)                                         \
                    conv_error ();                                            \
                  /* Allocate an initial buffer.  */                          \