summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/r3/posix/rand-posix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Runtime/r3/posix/rand-posix.cpp')
-rw-r--r--src/VBox/Runtime/r3/posix/rand-posix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/Runtime/r3/posix/rand-posix.cpp b/src/VBox/Runtime/r3/posix/rand-posix.cpp
index 44870e5be..8e02b0a60 100644
--- a/src/VBox/Runtime/r3/posix/rand-posix.cpp
+++ b/src/VBox/Runtime/r3/posix/rand-posix.cpp
@@ -1,4 +1,4 @@
-/* $Id: rand-posix.cpp $ */
+/* $Id: rand-posix.cpp 37596 2011-06-22 19:30:06Z vboxsync $ */
/** @file
* IPRT - Random Numbers and Byte Streams, POSIX.
*/
@@ -78,7 +78,7 @@ static DECLCALLBACK(int) rtRandAdvPosixDestroy(PRTRANDINT pThis)
{
pThis->u32Magic = ~RTRANDINT_MAGIC;
int fd = pThis->u.File.hFile;
- pThis->u.File.hFile = NIL_RTFILE;
+ pThis->u.File.hFile = -1;
RTMemFree(pThis);
close(fd);
return VINF_SUCCESS;