mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
13 lines
648 B
Diff
13 lines
648 B
Diff
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);
|