446cf2
commit cad64f778aced84efdaa04ae64f8737b86f063ab
446cf2
Author: Josh Triplett <josh@joshtriplett.org>
446cf2
Date:   Tue May 19 14:41:48 2020 +0200
446cf2
446cf2
    ldconfig: Default to the new format for ld.so.cache
446cf2
    
446cf2
    glibc has supported this format for close to 20 years.
446cf2
446cf2
diff --git a/elf/ldconfig.c b/elf/ldconfig.c
446cf2
index 5e6516688a1c192a..f31e10817dd5d665 100644
446cf2
--- a/elf/ldconfig.c
446cf2
+++ b/elf/ldconfig.c
446cf2
@@ -97,7 +97,7 @@ int opt_verbose;
446cf2
 
446cf2
 /* Format to support.  */
446cf2
 /* 0: only libc5/glibc2; 1: both; 2: only glibc 2.2.  */
446cf2
-int opt_format = 1;
446cf2
+int opt_format = 2;
446cf2
 
446cf2
 /* Build cache.  */
446cf2
 static int opt_build_cache = 1;
446cf2
@@ -150,7 +150,7 @@ static const struct argp_option options[] =
446cf2
   { NULL, 'f', N_("CONF"), 0, N_("Use CONF as configuration file"), 0},
446cf2
   { NULL, 'n', NULL, 0, N_("Only process directories specified on the command line.  Don't build cache."), 0},
446cf2
   { NULL, 'l', NULL, 0, N_("Manually link individual libraries."), 0},
446cf2
-  { "format", 'c', N_("FORMAT"), 0, N_("Format to use: new, old or compat (default)"), 0},
446cf2
+  { "format", 'c', N_("FORMAT"), 0, N_("Format to use: new (default), old, or compat"), 0},
446cf2
   { "ignore-aux-cache", 'i', NULL, 0, N_("Ignore auxiliary cache file"), 0},
446cf2
   { NULL, 0, NULL, 0, NULL, 0 }
446cf2
 };