From c55d19d5d665e5d1704e43c9e3dea3c8a69eed71 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 18 Feb 2020 10:15:47 -0500 Subject: Add missing formatter strings --- src/archive.c | 2 +- src/relocation.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/archive.c b/src/archive.c index c8aad35..d5c0118 100644 --- a/src/archive.c +++ b/src/archive.c @@ -50,7 +50,7 @@ int tar_extract_file(const char *_archive, const char* _filename, const char *_d status = proc->returncode; if (status != 0) { - fprintf(stderr, proc->output); + fprintf(stderr, "%s\n", proc->output); } shell_free(proc); diff --git a/src/relocation.c b/src/relocation.c index 7c9f5d6..1df9f81 100644 --- a/src/relocation.c +++ b/src/relocation.c @@ -361,7 +361,7 @@ int relocate(const char *_filename, const char *_oldstr, const char *_newstr) { returncode = proc->returncode; if (returncode != 0 && proc->output) { - fprintf(stderr, proc->output); + fprintf(stderr, "%s\n", proc->output); } shell_free(proc); -- cgit