chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-dhcp-lease: use shared default prefixlen function
[elogind.git]
/
src
/
shared
/
condition-util.c
diff --git
a/src/shared/condition-util.c
b/src/shared/condition-util.c
index f88ddc19e29461e02d05b00639d8c7bbc9d789d1..ff4a8ecd15dfd69bfcc8a2220f514c115048d5d1 100644
(file)
--- a/
src/shared/condition-util.c
+++ b/
src/shared/condition-util.c
@@
-26,7
+26,7
@@
#include <sys/statvfs.h>
#include <fnmatch.h>
#include <sys/statvfs.h>
#include <fnmatch.h>
-#include
<systemd/sd-id128.h>
+#include
"systemd/sd-id128.h"
#include "util.h"
#include "condition-util.h"
#include "virt.h"
#include "util.h"
#include "condition-util.h"
#include "virt.h"
@@
-114,6
+114,8
@@
bool condition_test_kernel_command_line(Condition *c) {
}
}
}
}
+ if (!isempty(state))
+ log_warning("Trailing garbage and the end of kernel commandline, ignoring.");
free(word);
free(line);
free(word);
free(line);