summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Safiullin <form@cvs.openbsd.org>2000-06-28 16:41:26 +0000
committerOleg Safiullin <form@cvs.openbsd.org>2000-06-28 16:41:26 +0000
commite952f242990e26626fafd7bfd35a2f68ebc8c17d (patch)
treea1c499468b4a18a66ff2afd6f992eaf78df2d829
parent363d7922c0a5ab61e3d447ef6e5d55a8d5e33987 (diff)
-U option.
Does nothing, just for compatibility with aout ldconfig.
-rw-r--r--gnu/libexec/ld.so/ldconfig/ldconfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/libexec/ld.so/ldconfig/ldconfig.c b/gnu/libexec/ld.so/ldconfig/ldconfig.c
index 02157e365bf..004833decb4 100644
--- a/gnu/libexec/ld.so/ldconfig/ldconfig.c
+++ b/gnu/libexec/ld.so/ldconfig/ldconfig.c
@@ -387,7 +387,7 @@ int main(int argc, char **argv)
prog = argv[0];
opterr = 0;
- while ((c = getopt(argc, argv, "DRvnNXlprf:P:m:")) != EOF)
+ while ((c = getopt(argc, argv, "DRUvnNXlprf:P:m:")) != EOF)
switch (c)
{
case 'D':
@@ -397,6 +397,7 @@ int main(int argc, char **argv)
verbose = 1;
break;
case 'R':
+ case 'U':
/* nothing */
exit(EXIT_OK);
break;