Previous change that changed SECRET to a string broke userland compiles
This commit is contained in:
@@ -16,7 +16,7 @@ tprintf(const char *fmt, ...)
|
|||||||
int chars;
|
int chars;
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
if (SECRET != 0) {
|
if (strcmp(SECRET, "") != 0) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ nprintf(const char *fmt, ...)
|
|||||||
int chars;
|
int chars;
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
if (SECRET == 0) {
|
if (strcmp(SECRET, "") == 0) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -52,8 +52,8 @@ printsf(const char *fmt, ...)
|
|||||||
int chars;
|
int chars;
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
if (SECRET != 0) {
|
if (strcmp(SECRET, "") != 0) {
|
||||||
printf("%llu: ", (unsigned long long)SECRET);
|
printf("%s: ", SECRET);
|
||||||
}
|
}
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
chars = vprintf(fmt, ap);
|
chars = vprintf(fmt, ap);
|
||||||
|
Reference in New Issue
Block a user