]> git.sesse.net Git - vlc/commitdiff
Kill a few relocations
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 3 Jun 2009 16:38:34 +0000 (19:38 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 3 Jun 2009 16:38:34 +0000 (19:38 +0300)
modules/misc/logger.c

index 5a6fe48d567fff5d97a6c97926046c6bc84b74cc..a095e38729b606934f75d2d6cdba5f6465c76fbb 100644 (file)
@@ -270,7 +270,7 @@ static int Open( vlc_object_t *p_this )
         if( psz_facility )
         {
             bool b_valid = 0;
         if( psz_facility )
         {
             bool b_valid = 0;
-            static const struct { const char *psz_name; int i_value; }
+            static const struct { const char psz_name[7]; int i_value; }
             p_facility[10] = {
                 { "daemon", LOG_DAEMON }, { "user", LOG_USER },
                 { "local0", LOG_LOCAL0 }, { "local1", LOG_LOCAL1 },
             p_facility[10] = {
                 { "daemon", LOG_DAEMON }, { "user", LOG_USER },
                 { "local0", LOG_LOCAL0 }, { "local1", LOG_LOCAL1 },