Merge "logcat: build regression"
This commit is contained in:
commit
7746546b89
1 changed files with 4 additions and 6 deletions
|
|
@ -342,12 +342,10 @@ static bool getSizeTArg(char *ptr, size_t *val, size_t min = 0,
|
||||||
|
|
||||||
static void logcat_panic(bool showHelp, const char *fmt, ...)
|
static void logcat_panic(bool showHelp, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
if (fmt) {
|
va_list args;
|
||||||
va_list args;
|
va_start(args, fmt);
|
||||||
va_start(args, fmt);
|
vfprintf(stderr, fmt, args);
|
||||||
vfprintf(stderr, fmt, args);
|
va_end(args);
|
||||||
va_end(args);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (showHelp) {
|
if (showHelp) {
|
||||||
show_help(getprogname());
|
show_help(getprogname());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue