chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
networkd: make sure Network and Link can always be freed
[elogind.git]
/
src
/
rfkill
/
rfkill.c
diff --git
a/src/rfkill/rfkill.c
b/src/rfkill/rfkill.c
index 986605e50b183da334f70af4de42ed9b9d448f97..65fd9bc478729486b96a38761850441accce15ee 100644
(file)
--- a/
src/rfkill/rfkill.c
+++ b/
src/rfkill/rfkill.c
@@
-24,7
+24,6
@@
#include "fileio.h"
#include "libudev.h"
#include "udev-util.h"
#include "fileio.h"
#include "libudev.h"
#include "udev-util.h"
-#include "util.h"
int main(int argc, char *argv[]) {
_cleanup_udev_unref_ struct udev *udev = NULL;
int main(int argc, char *argv[]) {
_cleanup_udev_unref_ struct udev *udev = NULL;
@@
-96,7
+95,7
@@
int main(int argc, char *argv[]) {
return EXIT_FAILURE;
}
return EXIT_FAILURE;
}
- if (streq(argv[1], "load") && restore_state()) {
+ if (streq(argv[1], "load") &&
shall_
restore_state()) {
_cleanup_free_ char *value = NULL;
r = read_one_line_file(saved, &value);
_cleanup_free_ char *value = NULL;
r = read_one_line_file(saved, &value);