X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fvlog.c;h=f87f48f822f1f4c2aec48105a349a189957173f7;hb=6a3e30f3e728e4a9692e03514f061aa341d62ebf;hp=193e4f7483133ca9f4954203c29ad93ddf641975;hpb=3e78870d0bfc3be3255a7ca71588692c6615f0c7;p=sliver-openvswitch.git diff --git a/lib/vlog.c b/lib/vlog.c index 193e4f748..f87f48f82 100644 --- a/lib/vlog.c +++ b/lib/vlog.c @@ -320,7 +320,7 @@ vlog_set_log_file(const char *file_name) /* Log success or failure. */ if (log_fd < 0) { VLOG_WARN("failed to open %s for logging: %s", - log_file_name, strerror(errno)); + log_file_name, ovs_strerror(errno)); error = errno; } else { VLOG_INFO("opened log file %s", log_file_name); @@ -489,7 +489,7 @@ vlog_unixctl_reopen(struct unixctl_conn *conn, int argc OVS_UNUSED, if (log_file_name) { int error = vlog_reopen_log_file(); if (error) { - unixctl_command_reply_error(conn, strerror(errno)); + unixctl_command_reply_error(conn, ovs_strerror(errno)); } else { unixctl_command_reply(conn, NULL); }