mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
mount: fix warning (printf field width of * wants int, not size_t)
This commit is contained in:
parent
f70265290c
commit
23514fe251
@ -732,7 +732,7 @@ static inline int we_saw_this_host_before(const char *hostname)
|
|||||||
* error_msg_rpc(clnt_*error*(" ")) */
|
* error_msg_rpc(clnt_*error*(" ")) */
|
||||||
static void error_msg_rpc(const char *msg)
|
static void error_msg_rpc(const char *msg)
|
||||||
{
|
{
|
||||||
size_t len;
|
int len;
|
||||||
while (msg[0] == ' ' || msg[0] == ':') msg++;
|
while (msg[0] == ' ' || msg[0] == ':') msg++;
|
||||||
len = strlen(msg);
|
len = strlen(msg);
|
||||||
while (len && msg[len-1] == '\n') len--;
|
while (len && msg[len-1] == '\n') len--;
|
||||||
|
Loading…
Reference in New Issue
Block a user