git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic commit of irc logs
[matches/MCTX3420.git]
/
rpi
/
log.c
diff --git
a/rpi/log.c
b/rpi/log.c
index
15e6618
..
bd41936
100644
(file)
--- a/
rpi/log.c
+++ b/
rpi/log.c
@@
-31,7
+31,7
@@
void Log(int level, char * funct, char * fmt, ...)
Fatal("Log", "Format string is NULL");
// Don't print the message unless we need to
Fatal("Log", "Format string is NULL");
// Don't print the message unless we need to
- if (level > options.verbosity)
+ if (level >
g_
options.verbosity)
return;
if (funct == NULL)
return;
if (funct == NULL)
@@
-59,7
+59,7
@@
void Log(int level, char * funct, char * fmt, ...)
}
// Print: Program name, PID, severity string, function name first
}
// Print: Program name, PID, severity string, function name first
- fprintf(stderr, "%s [%d] : %s : %s - ", options.program, getpid(), severity, funct);
+ fprintf(stderr, "%s [%d] : %s : %s - ",
g_
options.program, getpid(), severity, funct);
// Then pass additional arguments with the format string to vfprintf for printing
va_list va;
// Then pass additional arguments with the format string to vfprintf for printing
va_list va;
@@
-93,7
+93,7
@@
void Fatal(char * funct, char * fmt, ...)
if (funct == NULL)
funct = unspecified_funct;
if (funct == NULL)
funct = unspecified_funct;
- fprintf(stderr, "%s [%d] : %s : FATAL - ", options.program, getpid(), funct);
+ fprintf(stderr, "%s [%d] : %s : FATAL - ",
g_
options.program, getpid(), funct);
va_list va;
va_start(va, fmt);
va_list va;
va_start(va, fmt);
UCC
git Repository :: git.ucc.asn.au