mescc: Debugging oops.

* lib/libc.c (__mes_debug): Oops, wrong direction.
This commit is contained in:
Jan Nieuwenhuizen 2018-06-17 08:39:31 +02:00
parent a9215931e8
commit 49bcea84fd
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -58,7 +58,7 @@ __mes_debug ()
if (__mes_debug == -1) if (__mes_debug == -1)
{ {
char *p = getenv ("MES_DEBUG"); char *p = getenv ("MES_DEBUG");
__mes_debug = p ? MAX (itoa (p), 1) : 0; __mes_debug = p ? MAX (atoi (p), 1) : 0;
} }
return __mes_debug; return __mes_debug;
} }