fix a type in db_pipes.h; system_getrand to getrand.

This commit is contained in:
Chia-Che Tsai
2015-01-06 16:53:38 -08:00
parent ff7a89cdec
commit d07b45f92d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ static int pipe_waitforclient (PAL_HANDLE handle, PAL_HANDLE * client)
*client = clnt;
#else
PAL_IDX connid;
system_getrand(&connid, sizeof(PAL_IDX));
getrand(&connid, sizeof(PAL_IDX));
PAL_HANDLE clnt = malloc(HANDLE_SIZE(pipe));
SET_HANDLE_TYPE(clnt, pipecli);
clnt->__in.flags |= RFD(0)|WFD(0)|WRITEABLE(0);
+1 -1
View File
@@ -5,7 +5,7 @@
#define PAL_LINUX_DEFS_H
/* internal wrap native pipe inside pipe streams */
#define USE_PIPE_SYSCALL 1
#define USE_PIPE_SYSCALL 0
#define USE_VSYSCALL_GETTIME 0
#define USE_VDSO_GETTIME 1