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:06:30 +0800 |
commit | ff089d968ae84887a25862819a5728477c3ea222 (patch) | |
tree | 385096ba67518e0815d5c03b69efd451a2f0d36f | |
parent | 9dbd7306bb1ece936ee8c820229183ccd572e6c4 (diff) | |
download | libva-ff089d968ae84887a25862819a5728477c3ea222.tar.gz |
Fix tests.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
-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 |