mirror of
https://github.com/tmux/tmux.git
synced 2025-01-05 23:38:48 +00:00
No extra : for errx and warnx.
This commit is contained in:
parent
b79df1dc29
commit
fd96ccfd80
@ -51,10 +51,8 @@ errx(int eval, const char *fmt, ...)
|
||||
fprintf(stderr, "%s: ", getprogname());
|
||||
|
||||
va_start(ap, fmt);
|
||||
if (fmt != NULL) {
|
||||
if (fmt != NULL)
|
||||
vfprintf(stderr, fmt, ap);
|
||||
fprintf(stderr, ": ");
|
||||
}
|
||||
va_end(ap);
|
||||
|
||||
putc('\n', stderr);
|
||||
@ -87,10 +85,8 @@ warnx(const char *fmt, ...)
|
||||
fprintf(stderr, "%s: ", getprogname());
|
||||
|
||||
va_start(ap, fmt);
|
||||
if (fmt != NULL) {
|
||||
if (fmt != NULL)
|
||||
vfprintf(stderr, fmt, ap);
|
||||
fprintf(stderr, ": ");
|
||||
}
|
||||
va_end(ap);
|
||||
|
||||
putc('\n', stderr);
|
||||
|
Loading…
Reference in New Issue
Block a user