projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove vestigial support for Spanning Tree Protocol.
[openvswitch]
/
lib
/
util.c
diff --git
a/lib/util.c
b/lib/util.c
index 19f13dddc1f3f902b9964354e49381cd2221b8ef..01ebc9c661f20067c1d5a8fc95fcba7bce8dfbc2 100644
(file)
--- a/
lib/util.c
+++ b/
lib/util.c
@@
-23,10
+23,10
@@
#include <string.h>
#include <unistd.h>
#include "coverage.h"
#include <string.h>
#include <unistd.h>
#include "coverage.h"
-
-#define THIS_MODULE VLM_util
#include "vlog.h"
#include "vlog.h"
+VLOG_DEFINE_THIS_MODULE(util)
+
const char *program_name;
void
const char *program_name;
void
@@
-156,7
+156,8
@@
ovs_fatal(int err_no, const char *format, ...)
vfprintf(stderr, format, args);
va_end(args);
if (err_no != 0)
vfprintf(stderr, format, args);
va_end(args);
if (err_no != 0)
- fprintf(stderr, " (%s)", strerror(err_no));
+ fprintf(stderr, " (%s)",
+ err_no == EOF ? "end of file" : strerror(err_no));
putc('\n', stderr);
exit(EXIT_FAILURE);
putc('\n', stderr);
exit(EXIT_FAILURE);