[PATCH 1/4] os/log: trivial cleanups

Daniel Kurtz djkurtz at chromium.org
Wed Apr 18 02:51:50 PDT 2012


 * space->tab
 * remove comment that doesn't make any sense

Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
---
 os/log.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/os/log.c b/os/log.c
index 061b3dd..92cb7aa 100644
--- a/os/log.c
+++ b/os/log.c
@@ -168,7 +168,7 @@ asm(".desc ___crashreporter_info__, 0x10");
 #define X_DEBUG_STRING			"(DB)"
 #endif
 #ifndef X_NONE_STRING
-#define X_NONE_STRING                   ""
+#define X_NONE_STRING			""
 #endif
 
 /*
@@ -226,7 +226,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;
     }
-- 
1.7.7.3



More information about the xorg-devel mailing list