diff options
Diffstat (limited to 'dev/libSystem/src')
| -rw-r--r-- | dev/libSystem/src/SystemCalls.cc (renamed from dev/libSystem/src/System.cc) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/libSystem/src/System.cc b/dev/libSystem/src/SystemCalls.cc index da9931fe..571a99a6 100644 --- a/dev/libSystem/src/System.cc +++ b/dev/libSystem/src/SystemCalls.cc @@ -147,7 +147,7 @@ IMPORT_C VoidPtr MmFillMemory(_Input VoidPtr dest, _Input SizeT len, _Input UInt IMPORT_C Ref IoOpenFile(_Input const Char* path, _Input const Char* drv_letter) {
return static_cast<Ref>(libsys_syscall_arg_3(
- SYSCALL_HASH("IoOpenFile"), Detail::sys_safe_cast(path), Detail::sys_safe_cast(drv_letter)));
+ SYSCALL_HASH("IoOpenFile"), Verify::sys_safe_cast(path), Verify::sys_safe_cast(drv_letter)));
}
IMPORT_C Void IoCloseFile(_Input Ref desc) {
@@ -183,7 +183,7 @@ IMPORT_C SInt32 PrintOut(_Input IORef desc, const Char* fmt, ...) { // if truncated, `needed` >= kBufferSz; we still send truncated buffer
auto ret_ptr = libsys_syscall_arg_3(SYSCALL_HASH("PrintOut"), static_cast<VoidPtr>(desc),
- Detail::sys_safe_cast(buf));
+ Verify::sys_safe_cast(buf));
if (!ret_ptr) return -kErrorInvalidData;
|
