summaryrefslogtreecommitdiff
path: root/source4/lib/genrand.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/genrand.c')
-rw-r--r--source4/lib/genrand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/genrand.c b/source4/lib/genrand.c
index 72e4997596..11771b32c9 100644
--- a/source4/lib/genrand.c
+++ b/source4/lib/genrand.c
@@ -118,7 +118,7 @@ static void do_filehash(const char *fname, unsigned char *the_hash)
unsigned char tmp_md4[16];
int fd, n;
- fd = sys_open(fname,O_RDONLY,0);
+ fd = open(fname,O_RDONLY,0);
if (fd == -1)
return;
@@ -152,7 +152,7 @@ static int do_reseed(BOOL use_fd, int fd)
if (fd != -1)
return fd;
- fd = sys_open( "/dev/urandom", O_RDONLY,0);
+ fd = open( "/dev/urandom", O_RDONLY,0);
if(fd >= 0)
return fd;
}