diff options
author | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2009-07-08 07:49:23 +0000 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@intel.com> | 2009-07-08 17:42:05 +0800 |
commit | 3b10124ce0a3ce533f65bf613cbb6ef340f90c42 (patch) | |
tree | 2d61dee31174b62769506180d25f3a563c164061 /test | |
parent | 4f1b4898eb71b07397095fb22122182bc4f7191d (diff) | |
download | libva-3b10124ce0a3ce533f65bf613cbb6ef340f90c42.tar.gz |
Fix tests.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/test_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_common.c b/test/test_common.c index 8a6ca9f..91774da 100644 --- a/test/test_common.c +++ b/test/test_common.c @@ -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 |