#include "shash.h"
#include "stream-ssl.h"
#include "stream.h"
-#include "stress.h"
#include "sset.h"
#include "table.h"
#include "timeval.h"
proctitle_init(argc, argv);
set_program_name(argv[0]);
- stress_init_command();
signal(SIGPIPE, SIG_IGN);
process_init();
char *s;
if (ftruncate(fileno(config_file), 0) == -1) {
- VLOG_FATAL("failed to truncate temporary file (%s)", strerror(errno));
+ VLOG_FATAL("failed to truncate temporary file (%s)",
+ ovs_strerror(errno));
}
obj = json_object_create();
if (fseek(config_file, 0, SEEK_SET) != 0
|| fputs(s, config_file) == EOF
|| fflush(config_file) == EOF) {
- VLOG_FATAL("failed to write temporary file (%s)", strerror(errno));
+ VLOG_FATAL("failed to write temporary file (%s)", ovs_strerror(errno));
}
free(s);
}
struct json *json;
if (fseek(config_file, 0, SEEK_SET) != 0) {
- VLOG_FATAL("seek failed in temporary file (%s)", strerror(errno));
+ VLOG_FATAL("seek failed in temporary file (%s)", ovs_strerror(errno));
}
json = json_from_stream(config_file);
if (json->type == JSON_STRING) {