chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix service file to match installed elogind binary location
[elogind.git]
/
src
/
libelogind
/
sd-id128
/
id128-util.c
diff --git
a/src/libelogind/sd-id128/id128-util.c
b/src/libelogind/sd-id128/id128-util.c
index 6c1c7f02d7ed8dcc02ade2e1d74e8d4b89836c5f..ce8a6aad09f80d60dff6140c1d9aa4345a1f3125 100644
(file)
--- a/
src/libelogind/sd-id128/id128-util.c
+++ b/
src/libelogind/sd-id128/id128-util.c
@@
-153,7
+153,6
@@
int id128_read(const char *p, Id128Format f, sd_id128_t *ret) {
return id128_read_fd(fd, f, ret);
}
return id128_read_fd(fd, f, ret);
}
-#if 0 /// UNNEEDED by elogind
int id128_write_fd(int fd, Id128Format f, sd_id128_t id, bool do_sync) {
char buffer[36 + 2];
size_t sz;
int id128_write_fd(int fd, Id128Format f, sd_id128_t id, bool do_sync) {
char buffer[36 + 2];
size_t sz;
@@
-184,6
+183,7
@@
int id128_write_fd(int fd, Id128Format f, sd_id128_t id, bool do_sync) {
return r;
}
return r;
}
+#if 0 /// UNNEEDED by elogind
int id128_write(const char *p, Id128Format f, sd_id128_t id, bool do_sync) {
_cleanup_close_ int fd = -1;
int id128_write(const char *p, Id128Format f, sd_id128_t id, bool do_sync) {
_cleanup_close_ int fd = -1;