projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 2.5.0
[debian/amanda]
/
common-src
/
error.c
diff --git
a/common-src/error.c
b/common-src/error.c
index 5ce8b468bc2d9a3bce1f58cba589a66f80979f2d..1b6f9478a02e663daa1a2699d1cd6226b3aee251 100644
(file)
--- a/
common-src/error.c
+++ b/
common-src/error.c
@@
-25,7
+25,7
@@
* University of Maryland at College Park
*/
/*
* University of Maryland at College Park
*/
/*
- * $Id: error.c,v 1.
8.4.1.2.2.2.4 2003/04/27 01:17:50
martinea Exp $
+ * $Id: error.c,v 1.
18 2003/04/27 01:17:19
martinea Exp $
*
* error handling common to Amanda programs
*/
*
* error handling common to Amanda programs
*/
@@
-97,7
+97,7
@@
char *msg;
* Prints an error message, calls the functions installed via onerror(),
* then exits.
*/
* Prints an error message, calls the functions installed via onerror(),
* then exits.
*/
-printf_arglist_function(void error, char *, format)
+printf_arglist_function(void error, c
onst c
har *, format)
{
va_list argp;
int i;
{
va_list argp;
int i;
@@
-107,7
+107,7
@@
printf_arglist_function(void error, char *, format)
/* format and output the error message */
arglist_start(argp, format);
/* format and output the error message */
arglist_start(argp, format);
-
ap_
vsnprintf(linebuf, sizeof(linebuf), format, argp);
+ vsnprintf(linebuf, sizeof(linebuf), format, argp);
arglist_end(argp);
output_error_message(linebuf);
arglist_end(argp);
output_error_message(linebuf);
@@
-126,7
+126,7
@@
printf_arglist_function(void error, char *, format)
* Prints an error message, calls the functions installed via onerror(),
* then calls abort() to drop core.
*/
* Prints an error message, calls the functions installed via onerror(),
* then calls abort() to drop core.
*/
-printf_arglist_function(void errordump, char *, format)
+printf_arglist_function(void errordump, c
onst c
har *, format)
{
va_list argp;
int i;
{
va_list argp;
int i;
@@
-135,7
+135,7
@@
printf_arglist_function(void errordump, char *, format)
/* format error message */
arglist_start(argp, format);
/* format error message */
arglist_start(argp, format);
-
ap_
vsnprintf(linebuf, sizeof(linebuf), format, argp);
+ vsnprintf(linebuf, sizeof(linebuf), format, argp);
arglist_end(argp);
output_error_message(linebuf);
arglist_end(argp);
output_error_message(linebuf);