#include <string.h>
#include "command-line.h"
#include "daemon.h"
+#include "timeval.h"
#include "util.h"
/* -s, --signal: signal to send. */
int i;
set_program_name(argv[0]);
+ time_init();
parse_options(argc, argv);
argc -= optind;
argv += optind;
if (argc < 1) {
if (!force) {
- fatal(0, "need at least one non-option argument; "
- "use --help for usage");
+ ofp_fatal(0, "need at least one non-option argument; "
+ "use --help for usage");
}
}
goto got_name;
}
}
- fatal(0, "unknown signal \"%s\"", optarg);
+ ofp_fatal(0, "unknown signal \"%s\"", optarg);
got_name: ;
}
break;