mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
LibCore: Refer to type utsname as struct on Solaris
This commit is contained in:
parent
8687dae0ca
commit
dcb95dba17
1 changed files with 1 additions and 1 deletions
|
@ -1057,7 +1057,7 @@ ErrorOr<void> utime(StringView path, Optional<struct utimbuf> maybe_buf)
|
|||
|
||||
ErrorOr<struct utsname> uname()
|
||||
{
|
||||
utsname uts;
|
||||
struct utsname uts;
|
||||
#ifdef AK_OS_SERENITY
|
||||
int rc = syscall(SC_uname, &uts);
|
||||
HANDLE_SYSCALL_RETURN_VALUE("uname", rc, uts);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue