Diff of /daemon/liblegacy/opd_24_stats.c [9871f0] .. [0d0e60] Maximize Restore

  Switch to side-by-side view

--- a/daemon/liblegacy/opd_24_stats.c
+++ b/daemon/liblegacy/opd_24_stats.c
@@ -31,6 +31,8 @@
 	printf("Nr. modules samples lost: %lu\n", opd_24_stats[OPD_LOST_MODULE]);
 	printf("Nr. samples lost due to no process information: %lu\n",
 		opd_24_stats[OPD_LOST_PROCESS]);
+	printf("Nr. samples lost due to sample file open failure: %lu\n",
+		opd_24_stats[OPD_LOST_SAMPLEFILE]);
 	printf("Nr. process samples in user-space: %lu\n", opd_24_stats[OPD_PROCESS]);
 	printf("Nr. samples lost due to no map information: %lu\n",
 		opd_24_stats[OPD_LOST_MAP_PROCESS]);
@@ -53,8 +55,8 @@
 	printf("Nr. samples total: %lu\n", opd_24_stats[OPD_SAMPLES]);
 	printf("Nr. notifications: %lu\n", opd_24_stats[OPD_NOTIFICATIONS]);
 	printf("Nr. kernel note buffer overflow: %u\n",
-	       opd_read_fs_int(OP_MOUNT, "note_buffer_overflow"));
+	       opd_read_fs_int(OP_MOUNT, "note_buffer_overflow", 0));
 	printf("Nr. kernel samples buffer overflow: %u\n",
-	       opd_read_fs_int(OP_MOUNT, "buffer_overflow"));
+	       opd_read_fs_int(OP_MOUNT, "buffer_overflow", 0));
 	fflush(stdout);
 }