about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-05-29 14:10:41 -0700
committerKartik Agaram <vc@akkartik.com>2020-05-29 14:10:41 -0700
commit0ae8a9f5ad4f1072f4702024662b55736d9f6b68 (patch)
treec1c157289117f45d16d4c57063bcc111af422fe7
parent3fe43bca71bdc74c36e83fab6c0105c910a990e4 (diff)
downloadmu-0ae8a9f5ad4f1072f4702024662b55736d9f6b68.tar.gz
6428
-rw-r--r--apps/print-file.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/print-file.mu b/apps/print-file.mu
index a4b90208..29b122a9 100644
--- a/apps/print-file.mu
+++ b/apps/print-file.mu
@@ -29,7 +29,7 @@ $main-body: {
       var in-addr/ecx: (addr buffered-file) <- copy _in-addr
       {
         var c/eax: byte <- read-byte-buffered in-addr
-        compare c, 0xffffffff
+        compare c, 0xffffffff  # EOF marker
         break-if-=
         print-byte c
         loop