Explorar o código

examples/callback/callback.c: check value is correct

Nathalie Furmento %!s(int64=10) %!d(string=hai) anos
pai
achega
27ba4a53a4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/callback/callback.c

+ 1 - 1
examples/callback/callback.c

@@ -77,7 +77,7 @@ int main(int argc, char **argv)
 
 	starpu_shutdown();
 
-	return 0;
+	return (v == 42) ? 0 : 1;
 
 enodev:
 	starpu_shutdown();