Commit 3b10124c authored by Gwenole Beauchesne's avatar Gwenole Beauchesne Committed by Austin Yuan

Fix tests.

Signed-off-by: default avatarAustin Yuan <shengquan.yuan@intel.com>
parent 4f1b4898
......@@ -63,7 +63,7 @@ void status(const char *msg, ...)
int main(int argc, const char* argv[])
{
const char *name = rindex(argv[0], '/');
const char *name = strrchr(argv[0], '/');
if (name)
name++;
else
......
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