Obvious typo fix in gdb.reverse/readv-reverse.exp
[deliverable/binutils-gdb.git] / gdb / inf-child.c
index 0326a93ae326f86a547e762f93419ed62d0ead43..3566331c67514b01dcd6c48879caf318fa8190ab 100644 (file)
@@ -209,7 +209,8 @@ inf_child_pid_to_exec_file (struct target_ops *self, int pid)
 static int
 inf_child_fileio_open (struct target_ops *self,
                       struct inferior *inf, const char *filename,
-                      int flags, int mode, int *target_errno)
+                      int flags, int mode, int warn_if_slow,
+                      int *target_errno)
 {
   int nat_flags;
   mode_t nat_mode;
@@ -351,7 +352,7 @@ inf_child_fileio_readlink (struct target_ops *self,
       return NULL;
     }
 
-  ret = xmalloc (len + 1);
+  ret = (char *) xmalloc (len + 1);
   memcpy (ret, buf, len);
   ret[len] = '\0';
   return ret;
This page took 0.024638 seconds and 4 git commands to generate.