diff --git a/src/misc/configuration.c b/src/misc/configuration.c
index 2d8717abc34e4a5530505fd812d733d28a3c4b9d..e889cb45a496fd1f2f46bae2d0c9bec9ce0ccd4c 100644
--- a/src/misc/configuration.c
+++ b/src/misc/configuration.c
@@ -1535,8 +1535,7 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc, char *ppsz_argv[],
                                 "You should use --%s instead.\n",
                                 p_conf->psz_name, p_conf->psz_current);
                     }
-                    //*psz_name = *(p_conf->psz_current);
-                    psz_name = p_conf->psz_current;
+                    *psz_name = *(p_conf->psz_current);
                     p_conf = config_FindConfig( p_this, psz_name );
                 }