vlc | branch: master | Hugo Beauzée-Luyssen <h...@beauzee.fr> | Mon Apr 16 
13:09:35 2018 +0200| [36f95c617533a54377e0bf14d09fd6842787c5f5] | committer: 
Hugo Beauzée-Luyssen

lua: io: Fix typo in usage error message

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=36f95c617533a54377e0bf14d09fd6842787c5f5
---

 modules/lua/libs/io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/lua/libs/io.c b/modules/lua/libs/io.c
index d92ae445fd..5d6ac4d65a 100644
--- a/modules/lua/libs/io.c
+++ b/modules/lua/libs/io.c
@@ -211,7 +211,7 @@ static int vlclua_io_open( lua_State *L )
 static int vlclua_io_readdir( lua_State *L )
 {
     if( lua_gettop( L ) < 1 )
-        return luaL_error( L, "Usage: vlc.io.opendir(name)" );
+        return luaL_error( L, "Usage: vlc.io.readdir(name)" );
     const char* psz_path = luaL_checkstring( L, 1 );
     DIR* p_dir =  vlc_opendir( psz_path );
     if ( p_dir == NULL )

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to