mirror of
https://github.com/sheumann/hush.git
synced 2024-12-30 20:29:21 +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*(" ")) */
|
||||
static void error_msg_rpc(const char *msg)
|
||||
{
|
||||
size_t len;
|
||||
int len;
|
||||
while (msg[0] == ' ' || msg[0] == ':') msg++;
|
||||
len = strlen(msg);
|
||||
while (len && msg[len-1] == '\n') len--;
|
||||
|
Loading…
Reference in New Issue
Block a user