projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
service: initialize supplementary group ids
[project/procd.git]
/
plug
/
udevtrigger.c
diff --git
a/plug/udevtrigger.c
b/plug/udevtrigger.c
index
6bb3453
..
f87a95e
100644
(file)
--- a/
plug/udevtrigger.c
+++ b/
plug/udevtrigger.c
@@
-94,12
+94,12
@@
static void trigger_uevent(const char *devpath)
fd = open(filename, O_WRONLY);
if (fd < 0) {
fd = open(filename, O_WRONLY);
if (fd < 0) {
- dbg("error on opening %s: %
s\n", filename, strerror(errno)
);
+ dbg("error on opening %s: %
m\n", filename
);
return;
}
if (write(fd, "add", 3) < 0)
return;
}
if (write(fd, "add", 3) < 0)
- info("error on triggering %s: %
s\n", filename, strerror(errno)
);
+ info("error on triggering %s: %
m\n", filename
);
close(fd);
}
close(fd);
}