From: Michael Stapelberg Date: Tue, 4 Oct 2016 06:53:49 +0000 (-0700) Subject: Remove extraneous newline when printing core_pattern (#2490) X-Git-Tag: 4.13~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3a359a024343f73cd39068c5d3d5ed5afd4883b0;p=i3%2Fi3 Remove extraneous newline when printing core_pattern (#2490) This was accidentally changed in commit 94a09b3cac98a3bc1ed580fce16aa9869f83bbaa --- 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);