1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 14:15:07 +00:00

Kernel: Let's have sys$uname() report "i686" instead of "i386"

We wouldn't be able to run on an 80386 without considerable changes,
so let's be honest here and call it i686.
This commit is contained in:
Andreas Kling 2019-11-17 19:39:12 +01:00
parent 189f234b47
commit 3093b019d0

View file

@ -1516,7 +1516,7 @@ int Process::sys$uname(utsname* buf)
strcpy(buf->sysname, "Serenity");
strcpy(buf->release, "1.0-dev");
strcpy(buf->version, "FIXME");
strcpy(buf->machine, "i386");
strcpy(buf->machine, "i686");
LOCKER(*s_hostname_lock);
strncpy(buf->nodename, s_hostname->characters(), sizeof(utsname::nodename));
return 0;