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 /lib/timeval.h | |
parent | fcaddd4dd1e8feefc09ea2664ad51fb669d136f8 (diff) |
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 'lib/timeval.h')
-rw-r--r-- | lib/timeval.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/timeval.h b/lib/timeval.h index 90402330..303461ad 100644 --- a/lib/timeval.h +++ b/lib/timeval.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2009, 2010 Nicira Networks. + * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -60,6 +60,8 @@ int time_poll(struct pollfd *, int n_pollfds, int timeout); long long int timespec_to_msec(const struct timespec *); long long int timeval_to_msec(const struct timeval *); +void xgettimeofday(struct timeval *); + #ifdef __cplusplus } #endif |