diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-06-23 12:39:53 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-06-23 12:40:38 +0200 |
commit | b0b21dce0e88da8848f4eaf34b54318f0589000c (patch) | |
tree | e012c018abc4b1b6692573335ecef509ce2ff008 /src/journal/coredump.c | |
parent | a900b827d4d67f4961d2e4ed48d73e6bc1d6b4b6 (diff) |
coredump: also escape spaces in comm fields when formatting file names
Diffstat (limited to 'src/journal/coredump.c')
-rw-r--r-- | src/journal/coredump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/coredump.c b/src/journal/coredump.c index 442c969778..287e0ed7fd 100644 --- a/src/journal/coredump.c +++ b/src/journal/coredump.c @@ -186,7 +186,7 @@ static int fix_xattr(int fd, char *argv[]) { return r; } -#define filename_escape(s) xescape((s), "./") +#define filename_escape(s) xescape((s), "./ ") static int save_external_coredump(char **argv, uid_t uid, char **ret_filename, int *ret_fd, off_t *ret_size) { _cleanup_free_ char *p = NULL, *t = NULL, *c = NULL, *fn = NULL, *tmp = NULL; |