Omit system namespace.

Co-Authored-By: Andrew Kelley <andrew@ziglang.org>
This commit is contained in:
Euan T 2019-08-03 07:51:36 +01:00 committed by GitHub
parent 8e157ccb23
commit 08251fbc54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ fn getRandomBytesDevURandom(buf: []u8) !void {
defer close(fd);
const st = try fstat(fd);
if (!system.S_ISCHR(st.mode)) {
if (!S_ISCHR(st.mode)) {
return error.NoDevice;
}