hardware/intel/libva
Révision | 3b10124ce0a3ce533f65bf613cbb6ef340f90c42 (tree) |
---|---|
l'heure | 2009-07-08 18:42:05 |
Auteur | Gwenole Beauchesne <gbeauchesne@spli...> |
Commiter | Austin Yuan |
Fix tests.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
@@ -63,7 +63,7 @@ void status(const char *msg, ...) | ||
63 | 63 | |
64 | 64 | int main(int argc, const char* argv[]) |
65 | 65 | { |
66 | - const char *name = rindex(argv[0], '/'); | |
66 | + const char *name = strrchr(argv[0], '/'); | |
67 | 67 | if (name) |
68 | 68 | name++; |
69 | 69 | else |