sta
minimal & simple status monitoring app.
git clone https://git.pi66.xyz/sta
About | Files | Commits | Refs | License
fix: correct warn() format string
Author: pi66
Date: 2026-05-21 18:58
commit: 83fc46f4
Stat
| M | sta.c | 2 | +1 | -1 |
Diff
diff --git a/sta.c b/sta.c
index c1a1ede..fd6f8a4 100644
--- a/sta.c
+++ b/sta.c
@@ -191,7 +191,7 @@ void run_client(int argc, char const *argv[], struct sockaddr_un *addr, int sock
}
}
if (buf[0] == '\0') {
- warn("client", "no command found for id %d", id);
+ warn("Client: no command found for id %d", id);
return;
}
}