Samuel Thibault пре 8 година
родитељ
комит
b538fb0e70
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tests/helper.h

+ 1 - 1
tests/helper.h

@@ -108,7 +108,7 @@ static int _starpu_valgrind_print_once STARPU_ATTRIBUTE_UNUSED = 0;
 
 static inline void disable_coredump(void) {
 #ifdef HAVE_GETRLIMIT
-	struct rlimit rlim = { .rlim_cur = 0, .rlim_max = 0 };
+	struct rlimit rlim = { 0, 0 };
 	setrlimit(RLIMIT_CORE, &rlim);
 #endif
 }