diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-03-31 16:23:50 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-04-04 10:58:55 -0700 |
| commit | 279c9e030818e039bb1c26be76e2cc1e8f6b13a6 (patch) | |
| tree | d0b34b231861a6611ebe227326365c778aa3eac8 /vswitchd/ovs-vswitchd.c | |
| parent | fcaddd4dd1e8feefc09ea2664ad51fb669d136f8 (diff) | |
| download | openvswitch-279c9e030818e039bb1c26be76e2cc1e8f6b13a6.tar.gz | |
Log anything that could prevent a daemon from starting.
If a daemon doesn't start, we need to know why. Being able to
consistently consult the log to find out is helpful.
Diffstat (limited to 'vswitchd/ovs-vswitchd.c')
| -rw-r--r-- | vswitchd/ovs-vswitchd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vswitchd/ovs-vswitchd.c b/vswitchd/ovs-vswitchd.c index 1303e0893..bae03dd0f 100644 --- a/vswitchd/ovs-vswitchd.c +++ b/vswitchd/ovs-vswitchd.c @@ -199,8 +199,8 @@ parse_options(int argc, char *argv[]) argv += optind; if (argc != 1) { - ovs_fatal(0, "database socket is only non-option argument; " - "use --help for usage"); + VLOG_FATAL("database socket is only non-option argument; " + "use --help for usage"); } return argv[0]; |
