chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implement a union to pad out file_handle
[elogind.git]
/
src
/
shared
/
path-util.c
diff --git
a/src/shared/path-util.c
b/src/shared/path-util.c
index e35d7f8d67b502a9864e3a36c9fab689511b25bc..373dd7a35c3998b2f920c76949101b3a9d76ed49 100644
(file)
--- a/
src/shared/path-util.c
+++ b/
src/shared/path-util.c
@@
-464,8
+464,7
@@
int find_binary(const char *name, char **filename) {
continue;
if (filename) {
- path_kill_slashes(p);
- *filename = p;
+ *filename = path_kill_slashes(p);
p = NULL;
}