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
commit 3093b019d0
Notes: sideshowbarker 2024-07-19 11:10:33 +09:00

View file

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