summary refs log blame commit diff
path: root/pkgs/servers/openpts/bugs.patch
blob: d818bafbc9f3b82510d01fd021a005fbddbf2795 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                                   
diff -urNp openpts-0.2.6-cvs-patched/src/fsm.c openpts-0.2.6-current/src/fsm.c
--- openpts-0.2.6-cvs-patched/src/fsm.c	2012-01-05 03:49:15.000000000 -0500
+++ openpts-0.2.6-current/src/fsm.c	2012-01-09 12:11:17.338706205 -0500
@@ -934,7 +934,7 @@ char *getEventString(OPENPTS_PCR_EVENT_W
     /* event */
     event = eventWrapper->event;
     if (event != NULL) {
-        // len = snprintf(buf, size, "PCR[%d],TYPE=%d", (int)event->ulPcrIndex, event->eventType);
+        snprintf(buf, size, "PCR[%d],TYPE=%d", (int)event->ulPcrIndex, event->eventType);
     } else {
         LOG(LOG_ERR, "NULL event\n");  // TODO(munetoh)
         xfree(buf);