File ivtv-buffer.patch of Package ivtv

--- utils/ivtv-ctl.c
+++ utils/ivtv-ctl.c
@@ -171,7 +171,7 @@
 
 	frame = (int)ceilf(((float)fracsec / (float)MPEG_CLOCK_FREQ) * fps);
 
-	snprintf(p, sizeof(buf), "%d:%02d:%02d:%d", hours, minutes, seconds, frame);
+	snprintf(p, sizeof(p), "%d:%02d:%02d:%d", hours, minutes, seconds, frame);
 	return p;
 }