Explorar o código

tests/core/deprecated.c: typo

Nathalie Furmento %!s(int64=14) %!d(string=hai) anos
pai
achega
2cdb4ef095
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/core/deprecated.c

+ 1 - 1
tests/core/deprecated.c

@@ -80,7 +80,7 @@ int submit_codelet(struct starpu_codelet *cl)
 				 STARPU_R, handles[0],
 				 STARPU_W, handles[1],
 				 0);
-	if (ret == --ENODEV)
+	if (ret == -ENODEV)
 	{
 		starpu_data_unregister(handles[0]);
 		starpu_data_unregister(handles[1]);