chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] cleanup netif handling and netif-dev.d/ events
[elogind.git]
/
wait_for_sysfs.c
diff --git
a/wait_for_sysfs.c
b/wait_for_sysfs.c
index 1d7044c61f30e2adb73a71c70d375e669263ab78..8f142f488b6f3e4d9d2bdaf108153d59bb3db728 100644
(file)
--- a/
wait_for_sysfs.c
+++ b/
wait_for_sysfs.c
@@
-163,6
+163,7
@@
static int class_device_expect_no_device_link(struct sysfs_class_device *class_d
{ .subsystem = "net", .device = "lo" },
{ .subsystem = "net", .device = "tap" },
{ .subsystem = "net", .device = "ipsec" },
{ .subsystem = "net", .device = "lo" },
{ .subsystem = "net", .device = "tap" },
{ .subsystem = "net", .device = "ipsec" },
+ { .subsystem = "net", .device = "dummy" },
{ .subsystem = "net", .device = "irda" },
{ .subsystem = "net", .device = "ppp" },
{ .subsystem = "ppp", .device = NULL },
{ .subsystem = "net", .device = "irda" },
{ .subsystem = "net", .device = "ppp" },
{ .subsystem = "ppp", .device = NULL },
@@
-392,7
+393,7
@@
int main(int argc, char *argv[], char *envp[])
int rc = 0;
const char *error = NULL;
int rc = 0;
const char *error = NULL;
-
init_logging
("wait_for_sysfs");
+
logging_init
("wait_for_sysfs");
if (argc != 2) {
dbg("error: subsystem");
if (argc != 2) {
dbg("error: subsystem");
@@
-475,5
+476,6
@@
exit:
dbg("result: waiting for sysfs successful '%s'", devpath);
}
dbg("result: waiting for sysfs successful '%s'", devpath);
}
+ logging_close();
exit(rc);
}
exit(rc);
}