Update recommended gnulib commit
[pspp] / tests / language / lexer / segment-test.c
index 2cd141cfe01598972fc83f97a26cf871d4912088..62db4814266395b84315857503fd4bfbf33fdc9d 100644 (file)
@@ -73,8 +73,8 @@ main (int argc, char *argv[])
   /* Read from stdin into 'input'.  Ensure that 'input' ends in a new-line
      followed by a null byte. */
   input = (!strcmp (file_name, "-")
-           ? fread_file (stdin, &length)
-           : read_file (file_name, &length));
+           ? fread_file (stdin, 0, &length)
+           : read_file (file_name, 0, &length));
   if (input == NULL)
     error (EXIT_FAILURE, errno, "reading %s failed", file_name);