summary refs log tree commit diff
path: root/stdlib/srand48_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/srand48_r.c')
-rw-r--r--stdlib/srand48_r.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/stdlib/srand48_r.c b/stdlib/srand48_r.c
index ac313f6c48..8720854249 100644
--- a/stdlib/srand48_r.c
+++ b/stdlib/srand48_r.c
@@ -24,13 +24,6 @@ srand48_r (seedval, buffer)
      long seedval;
      struct drand48_data *buffer;
 {
-  /* Be generous for the arguments, detect some errors.  */
-  if (buffer == NULL)
-    {
-      errno = EFAULT;
-      return -1;
-    }
-
   /* The standards say we only have 32 bits.  */
   if (sizeof (long) > 4)
     seedval &= 0xffffffffl;