Pi66

sta
minimal & simple status monitoring app.
git clone https://git.pi66.xyz/sta

← back to log

fix: correct warn() format string

author: pi66
date: 2026-05-21 18:58
hash: 83fc46f444c50a0cb319436a907cd1936a2b4b37

Diffstat:

M

sta.c
2 +++++++++++++++---------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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;
        }
    }