chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shared: procfs_file_alloca: handle pid==0
[elogind.git]
/
src
/
locale
/
localectl.c
diff --git
a/src/locale/localectl.c
b/src/locale/localectl.c
index 76a53f6fff1e7c532c229505f0f03f6c45c6a057..b0abe7b0513a62813e5861aacd45dd03040898c1 100644
(file)
--- a/
src/locale/localectl.c
+++ b/
src/locale/localectl.c
@@
-415,7
+415,7
@@
static int nftw_cb(
!endswith(fpath, ".map.gz"))
return 0;
- p = strdup(
path_get_file_
name(fpath));
+ p = strdup(
base
name(fpath));
if (!p)
return log_oom();