--- a/lsflib/src/get_line.c +++ b/lsflib/src/get_line.c @@ -17,6 +17,7 @@ { int i, j; char *line, *ptr; + FILE *f = fopen (filename, "r"); if (!f) {