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

Switch to side-by-side view

--- a/daemon/init.c
+++ b/daemon/init.c
@@ -222,8 +222,8 @@
 
 	opd_create_vmlinux(vmlinux, kernel_range);
 
-	opd_buf_size = opd_read_fs_int("/dev/oprofile/", "buffer_size");
-	kernel_pointer_size = opd_read_fs_int("/dev/oprofile/", "pointer_size");
+	opd_buf_size = opd_read_fs_int("/dev/oprofile/", "buffer_size", 1);
+	kernel_pointer_size = opd_read_fs_int("/dev/oprofile/", "pointer_size", 1);
 
 	s_buf_bytesize = opd_buf_size * kernel_pointer_size;