aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 11774e4..1107624 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1092,7 +1092,7 @@ static int ftag_sync_compare_mtimes(void)
}
size_t line_size = 32;
char *line = malloc(line_size);
- ssize_t line_len;
+ getline(&line, &line_size, pipe);
if (ferror(pipe)) {
perror("getline");
exit(EXIT_FAILURE);