From 4904d77cca14c36090cf7a3eb4638fbdeaf28959 Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Mon, 11 Aug 2025 21:36:07 +0200 Subject: split_for_sort: add filename to warning --- src/split_for_sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/split_for_sort.c') diff --git a/src/split_for_sort.c b/src/split_for_sort.c index e57c2b3..9b05869 100644 --- a/src/split_for_sort.c +++ b/src/split_for_sort.c @@ -208,7 +208,7 @@ struct list_head *extend_list(struct list_head *list, size_t splitlength, char * line[len] = '\0'; if (strncmp(line, previous, splitlength) != 0) { if (push_into_list_unique(list, line) != 0) { - LOGERR("WARNING: Failed to insert '%s' into list.\n", line); + LOGERR("WARNING: Failed to insert '%s' into list. (file %s)\n", line, fname); continue; } strncpy(previous, line, splitlength); -- cgit v1.2.3-70-g09d2