mirror of
https://github.com/clearlinux/graphene.git
synced 2026-08-21 05:07:29 +00:00
fix a type in db_pipes.h; system_getrand to getrand.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user