]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commitdiff
cleanup: fix stale x86 'eax' reference in syscall.c comment
authorTulio A M Mendes <[email protected]>
Fri, 13 Feb 2026 20:05:07 +0000 (17:05 -0300)
committerTulio A M Mendes <[email protected]>
Fri, 13 Feb 2026 20:05:07 +0000 (17:05 -0300)
src/kernel/syscall.c

index 6b1b9b4b12cc14af59d6b21beeff8fdc5331c11c..6895da1c8e65d2df28a135402f55cfdd27c1095b 100644 (file)
@@ -2339,7 +2339,7 @@ void syscall_handler(struct registers* regs) {
 
     /* ---- Socket syscalls ---- */
     socket_syscall_dispatch(regs, syscall_no);
-    /* If socket dispatch handled it, eax is set and we return.
+    /* If socket dispatch handled it, the return register is set and we return.
        If not, it sets ENOSYS. Either way, return. */
     return;
 }