diff options
author | Rosen Penev <rosenp@gmail.com> | 2017-12-16 19:55:04 -0800 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-12-17 20:02:02 +0100 |
commit | 7aa2594c5a127d92fa8f04328ac7b43e595bcaa7 (patch) | |
tree | 9dbfea93d259084641f30172efc65692d0540205 /src/ubus.c | |
parent | 750e457e3000187b85906814a2529ede24775325 (diff) |
odhcpd: Replace strerror(errno) with %m format
Saves a few bytes.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/ubus.c')
-rw-r--r-- | src/ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |