X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5a788adec19043d4d93c4fa2713f9f633bfd35ab..a9766ef1472d04df22178f69ea7bfde36f2b7242:/cleanup.c diff --git a/cleanup.c b/cleanup.c index ee2fa4d5..be795034 100644 --- a/cleanup.c +++ b/cleanup.c @@ -31,7 +31,7 @@ static int cleanup_fd1, cleanup_fd2; static struct map_struct *cleanup_buf; static int cleanup_pid = 0; -void exit_cleanup(int code) +void _exit_cleanup(int code, const char *file, int line) { extern int keep_partial; @@ -58,7 +58,7 @@ void exit_cleanup(int code) } } - if (code) log_exit(code); + if (code) log_exit(code, file, line); exit(code); }