Procházet zdrojové kódy

tests/core/deprecated.c: typo

Nathalie Furmento před 13 roky
rodič
revize
2cdb4ef095
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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]);