Permalink
Browse files

Align the line-number in traces

  • Loading branch information...
1 parent adbee0c commit 284037f5296e748aca77013616d55e1c7b844c58 @stash committed Apr 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Feersum.xs
View
@@ -81,7 +81,7 @@
#define trouble(f_, ...) warn(WARN_PREFIX f_, ##__VA_ARGS__);
#ifdef DEBUG
-#define trace(f_, ...) warn("%s:%d [%d] " f_, __FILE__, __LINE__, (int)getpid(), ##__VA_ARGS__)
+#define trace(f_, ...) warn("%s:%-4d [%d] " f_, __FILE__, __LINE__, (int)getpid(), ##__VA_ARGS__)
#else
#define trace(...)
#endif

0 comments on commit 284037f

Please sign in to comment.