X-Git-Url: https://git.distorted.org.uk/~mdw/udpkey/blobdiff_plain/a5f873bee5d69f4f12160360ec9a756b7c1c907a..cfec381392ae1a5fb4ac0ffc010e3bc9154889c0:/udpkey.c diff --git a/udpkey.c b/udpkey.c index 452a857..4d72079 100644 --- a/udpkey.c +++ b/udpkey.c @@ -150,7 +150,7 @@ static int snarf(const char *name, void **p, size_t *sz) * otherwise write to stderr. Don't use `%m' because that won't work when * writing to stderr. */ -static void complain(int sev, const char *msg, ...) +static void PRINTF_LIKE(2, 3) complain(int sev, const char *msg, ...) { va_list ap; @@ -1111,7 +1111,7 @@ static void usage(FILE *fp) } static void version(FILE *fp) - { pquis(fp, "$, version " VERSION); } + { pquis(fp, "$, version " VERSION "\n"); } static void help(FILE *fp) {