projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: Suppress comparison warnings in ovsdb libraries.
[openvswitch]
/
lib
/
uuid.c
diff --git
a/lib/uuid.c
b/lib/uuid.c
index e25902423022f20a42235619015878d895d73efd..8b02bf556a5b80127084657984b0e69952f4472b 100644
(file)
--- a/
lib/uuid.c
+++ b/
lib/uuid.c
@@
-1,4
+1,4
@@
-/* 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.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-27,6
+27,7
@@
#include "aes128.h"
#include "entropy.h"
#include "sha1.h"
#include "aes128.h"
#include "entropy.h"
#include "sha1.h"
+#include "timeval.h"
#include "util.h"
static struct aes128 key;
#include "util.h"
static struct aes128 key;
@@
-212,9
+213,7
@@
do_init(void)
/* Get seed data. */
get_entropy_or_die(random_seed, sizeof random_seed);
/* Get seed data. */
get_entropy_or_die(random_seed, sizeof random_seed);
- if (gettimeofday(&now, NULL)) {
- ovs_fatal(errno, "gettimeofday failed");
- }
+ xgettimeofday(&now);
pid = getpid();
ppid = getppid();
uid = getuid();
pid = getpid();
ppid = getppid();
uid = getuid();