X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fentropy.c;h=02f56e0f447ab15fde978e818985ecb6b1f4501a;hb=0f13e65061231a56fdf9428ed1df4a614642a596;hp=c1f08868795505b06a7bb76db6f36e9c3099d73a;hpb=e0edde6fee279cdbbf3c179f5f50adaf0c7c7f1e;p=sliver-openvswitch.git diff --git a/lib/entropy.c b/lib/entropy.c index c1f088687..02f56e0f4 100644 --- a/lib/entropy.c +++ b/lib/entropy.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2008, 2009, 2010, 2011 Nicira, Inc. +/* Copyright (c) 2008, 2009, 2010, 2011, 2013 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -39,7 +39,7 @@ get_entropy(void *buffer, size_t n) fd = open(urandom, O_RDONLY); if (fd < 0) { - VLOG_ERR("%s: open failed (%s)", urandom, strerror(errno)); + VLOG_ERR("%s: open failed (%s)", urandom, ovs_strerror(errno)); return errno ? errno : EINVAL; }