chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build-sys: ensure selinux configure check follows logic of other optional features
[elogind.git]
/
src
/
manager.c
diff --git
a/src/manager.c
b/src/manager.c
index 013b26b6c965ad95b64ae3334e1cf1a8f74d7d1f..2714df1152f38631965a302fe5cf77ec0dad30ff 100644
(file)
--- a/
src/manager.c
+++ b/
src/manager.c
@@
-2428,7
+2428,6
@@
void manager_send_unit_plymouth(Manager *m, Unit *u) {
union sockaddr_union sa;
int n = 0;
char *message = NULL;
union sockaddr_union sa;
int n = 0;
char *message = NULL;
- ssize_t r;
/* Don't generate plymouth events if the service was already
* started and we're just deserializing */
/* Don't generate plymouth events if the service was already
* started and we're just deserializing */
@@
-2472,7
+2471,7
@@
void manager_send_unit_plymouth(Manager *m, Unit *u) {
}
errno = 0;
}
errno = 0;
- if (
(r = write(fd, message, n + 1)
) != n + 1) {
+ if (
write(fd, message, n + 1
) != n + 1) {
if (errno != EPIPE &&
errno != EAGAIN &&
if (errno != EPIPE &&
errno != EAGAIN &&