Remove extraneous newline when printing core_pattern (#2490)
This was accidentally changed in commit 94a09b3cac
This commit is contained in:
parent
6b3d8b9e8b
commit
3a359a0243
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue