projects
/
project
/
odhcpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
odhcpd: Replace strerror(errno) with %m format
[project/odhcpd.git]
/
src
/
ubus.c
diff --git
a/src/ubus.c
b/src/ubus.c
index
19b14be
..
6af5911
100644
(file)
--- a/
src/ubus.c
+++ b/
src/ubus.c
@@
-412,7
+412,7
@@
bool ubus_has_prefix(const char *name, const char *ifname)
int ubus_init(void)
{
if (!(ubus = ubus_connect(NULL))) {
- syslog(LOG_ERR, "Unable to connect to ubus: %
s", strerror(errno)
);
+ syslog(LOG_ERR, "Unable to connect to ubus: %
m"
);
return -1;
}