Changeset 1784 for box/chris/general/lib/common/BoxTime.cpp
- Timestamp:
- 01/08/2007 00:18:50 (5 years ago)
- File:
-
- 1 edited
-
box/chris/general/lib/common/BoxTime.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/chris/general/lib/common/BoxTime.cpp
r1318 r1784 13 13 #include <sys/time.h> 14 14 #endif 15 15 16 #ifdef HAVE_TIME_H 16 17 #include <time.h> 17 18 #endif 18 #ifdef HAVE_SYSLOG_H 19 #include <syslog.h> 20 #endif 19 21 20 #include <errno.h> 22 21 #include <string.h> … … 41 40 if (gettimeofday(&tv, NULL) != 0) 42 41 { 43 ::syslog(LOG_ERR, "gettimeofday() failed (%s),"44 " dropping precision",strerror(errno));42 BOX_ERROR("Failed to gettimeofday(), dropping " 43 "precision: " << strerror(errno)); 45 44 } 46 45 else
Note: See TracChangeset
for help on using the changeset viewer.
