aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-05-09 23:18:56 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-05-09 23:18:56 -0700
commitf566ab01e344058bd74dfab86a1cd1cceeb3a6ce (patch)
treea9a50ced518c9237d0f0be8cf1ff1f4be7b17ab4
parent0d29bf086327278d8461a2b0c795804c8c827dc2 (diff)
update
-rw-r--r--mycan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mycan.c b/mycan.c
index e8f4157..8d0237f 100644
--- a/mycan.c
+++ b/mycan.c
@@ -114,7 +114,7 @@ int main(int argc, char **argv)
}
// need fflush for systemd to log my stdout
// without fflush, fprintf stderr works, printf not work, fprintf stdout not work
- // maybe other ways to disable buffering also works
+ // maybe other ways to disable buffering or flush buffers also works
// https://unix.stackexchange.com/questions/725331
// https://unix.stackexchange.com/questions/785686
fflush(stdout);