Remove extraneous newline when printing core_pattern (#2490)

This was accidentally changed in commit 94a09b3cac
This commit is contained in:
Michael Stapelberg 2016-10-03 23:53:49 -07:00 committed by GitHub
parent 6b3d8b9e8b
commit 3a359a0243
1 changed files with 1 additions and 1 deletions

View File

@ -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);