From 3a359a024343f73cd39068c5d3d5ed5afd4883b0 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 3 Oct 2016 23:53:49 -0700 Subject: [PATCH] Remove extraneous newline when printing core_pattern (#2490) This was accidentally changed in commit 94a09b3cac98a3bc1ed580fce16aa9869f83bbaa --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 96eab671..9373445a 100644 --- a/src/main.c +++ b/src/main.c @@ -451,7 +451,7 @@ int main(int argc, char *argv[]) { memset(cwd, '\0', cwd_size); if (read(patternfd, cwd, cwd_size) > 0) /* a trailing newline is included in cwd */ - LOG("CORE DUMPS: Your core_pattern is: \"%s\".\n", cwd); + LOG("CORE DUMPS: Your core_pattern is: %s", cwd); close(patternfd); } free(cwd); -- 2.39.5