X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/86ac0f5e76979de35bafd5198a75bfe354d2729a..f7eb978bd395752d3d9037ea4436b8e2db41f135:/sbr/error.c diff --git a/sbr/error.c b/sbr/error.c index 1ac4cb11..c23c3dfa 100644 --- a/sbr/error.c +++ b/sbr/error.c @@ -17,7 +17,7 @@ * print out error message */ void -advise (const char *what, char *fmt, ...) +advise (const char *what, const char *fmt, ...) { va_list ap; @@ -31,7 +31,7 @@ advise (const char *what, char *fmt, ...) * print out error message and exit */ void -adios (const char *what, char *fmt, ...) +adios (const char *what, const char *fmt, ...) { va_list ap; @@ -60,7 +60,7 @@ admonish (char *what, char *fmt, ...) * main routine for printing error messages. */ void -advertise (const char *what, char *tail, char *fmt, va_list ap) +advertise (const char *what, char *tail, const char *fmt, va_list ap) { int eindex = errno; char buffer[BUFSIZ], err[BUFSIZ];