Commit 9a2030ea authored by Daniel Kurtz's avatar Daniel Kurtz Committed by Peter Hutterer

os/log: trivial cleanups

 * space->tab
 * remove comment that doesn't make any sense
Signed-off-by: default avatarDaniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit c3086287)
parent 90299556
......@@ -165,7 +165,7 @@ asm(".desc ___crashreporter_info__, 0x10");
#define X_NOT_IMPLEMENTED_STRING "(NI)"
#endif
#ifndef X_NONE_STRING
#define X_NONE_STRING ""
#define X_NONE_STRING ""
#endif
/*
......@@ -223,7 +223,7 @@ LogInit(const char *fname, const char *backup)
* needed.
*/
if (saveBuffer && bufferSize > 0) {
free(saveBuffer); /* Must be free(), not free() */
free(saveBuffer);
saveBuffer = NULL;
bufferSize = 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment