diff options
author | Leah Neukirchen <leah@vuxu.org> | 2023-12-03 00:47:57 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2023-12-03 00:47:57 +0100 |
commit | c2595b43c4e643fa60b6f288c1266858eb9b8f14 (patch) | |
tree | 2ea7506ef331a85ce8a1466f515dda61d8493860 | |
parent | 7484c869c2c998626ee6b9205997534c4d831fc2 (diff) | |
download | nitro-c2595b43c4e643fa60b6f288c1266858eb9b8f14.tar.gz nitro-c2595b43c4e643fa60b6f288c1266858eb9b8f14.tar.xz nitro-c2595b43c4e643fa60b6f288c1266858eb9b8f14.zip |
document glibc dprintf issue
-rw-r--r-- | nitro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nitro.c b/nitro.c index fd45911..28e7180 100644 --- a/nitro.c +++ b/nitro.c @@ -894,8 +894,8 @@ write_global_log(char *log, size_t ulen) break; case LOGF_KMSG: { // printk keeps track of time, we just need facility and level. - // printk doesn't like dprintf using lseek etc, so do a single - // write. + // printk doesn't like glibc dprintf using lseek etc, + // so do a single write. char buf[4096]; int r = snprintf(buf, sizeof buf, "<%d>nitro: %.*s\n", LOG_DAEMON | LOG_NOTICE, len, log); |