about summary refs log tree commit diff stats
path: root/linux/111read.subx
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-07-20 07:30:59 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-07-20 08:43:25 -0700
commit13ef425825cef5fa30f7eb68688b6d114ecbe554 (patch)
treea9853e61dd9fa39a4cf8f8c1ff5e79171e5ce9c3 /linux/111read.subx
parent5f254d0d02d8d6d61ca57ef4188110f11032a930 (diff)
downloadmu-13ef425825cef5fa30f7eb68688b6d114ecbe554.tar.gz
.
Diffstat (limited to 'linux/111read.subx')
-rw-r--r--linux/111read.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/111read.subx b/linux/111read.subx
index 1f5a557d..43426fde 100644
--- a/linux/111read.subx
+++ b/linux/111read.subx
@@ -210,7 +210,7 @@ _read:  # fd: int, s: (addr stream byte) -> num-bytes-read/eax: int
     8b/copy                         0/mod/indirect  6/rm32/esi    .           .             .           0/r32/eax   .               .                 # copy *esi to eax
     # edx = s->size
     8b/copy                         1/mod/*+disp8   6/rm32/esi    .           .             .           2/r32/edx   8/disp8         .                 # copy *(esi+8) to edx
-    # syscall(read, fd, &s->data[s->write], s->size - s->write)
+    # syscall_read(fd, &s->data[s->write], s->size - s->write)
     # . . fd: ebx
     8b/copy                         1/mod/*+disp8   5/rm32/ebp    .           .             .           3/r32/ebx   8/disp8         .                 # copy *(ebp+8) to ebx
     # . . data: ecx = &s->data[s->write]