File 0008-enable-hex-trace-mask.patch of Package sblim-sfcb-sle11-sp2

From 95cda191df6e023febf55f6f9929998465a40b5b Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Wed, 22 Oct 2008 11:22:18 +0200
Subject: [PATCH] enable hex trace mask

Now trace level (-t) can be specified hexdecimal (-t 0x1234)
also adds TRACE_SEMAPHORE
---

diff --git a/sfcBroker.c b/sfcBroker.c
index 95e3e18..827eb7b 100644
--- a/sfcBroker.c
+++ b/sfcBroker.c
@@ -558,7 +558,7 @@ int main(int argc, char *argv[])
 	       if (*optarg == '?') {
 		   fprintf(stdout, "---   Traceable Components:     Int       Hex\n");
 		   for (i = 0; traceIds[i].id; i++)
-		       fprintf(stdout, "--- \t%18s:    %d\t0x%05X\n", traceIds[i].id, traceIds[i].code, traceIds[i].code);
+		       fprintf(stdout, "--- \t%18s:    %d\t0x%07X\n", traceIds[i].id, traceIds[i].code, traceIds[i].code);
 		   exit(0);
 	       } else if (isdigit(*optarg)) {
 		   char *ep;
openSUSE Build Service is sponsored by