Commit 24263d4c authored by Mathieu Faverge's avatar Mathieu Faverge

Fix one bug raised by coverity

parent f08137a8
......@@ -175,9 +175,9 @@ int main (int argc, char **argv)
exit(1);
}
sscanf( argv[1], "%d", &ncores );
sscanf( argv[2], "%d", &ngpus );
sscanf( argv[3], "%s", func );
sscanf( argv[1], "%d", &ncores );
sscanf( argv[2], "%d", &ngpus );
sscanf( argv[3], "%31s", func );
/* Initialize MORSE */
/*if(nthreads_per_worker)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment