Browse Source

tests/core/deprecated.c: typo

Nathalie Furmento 13 years ago
parent
commit
2cdb4ef095
1 changed files with 1 additions and 1 deletions
  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]);