Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 261187
Collapse All | Expand All

(-)mi-perfctr.c (-1 / +1 lines)
Lines 94-100 Link Here
94
	
94
	
95
	MI_DEBUG (("Turning on performance monitoring timer support\n"));
95
	MI_DEBUG (("Turning on performance monitoring timer support\n"));
96
96
97
	if ((perfctr_fd = open ("/proc/self/perfctr", O_RDONLY | O_CREAT)) < 0) {
97
	if ((perfctr_fd = open ("/proc/self/perfctr", O_RDONLY | O_CREAT, 0644)) < 0) {
98
		mi_perror ("Error opening /proc/self/perfctr");
98
		mi_perror ("Error opening /proc/self/perfctr");
99
		goto bail;
99
		goto bail;
100
	}
100
	}

Return to bug 261187