Browse Source

examples/pipeline: return 77 on ENODEV

Nathalie Furmento 13 years ago
parent
commit
ac9db34ffa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/pipeline/pipeline.c

+ 1 - 1
examples/pipeline/pipeline.c

@@ -250,5 +250,5 @@ enodev:
 	}
 	starpu_shutdown();
 
-	return ret;
+	return (ret == -ENODEV ? 77 : 0);
 }