OSDN Git Service

fix cosmetic typo
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 14 Oct 2009 10:53:59 +0000 (12:53 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 14 Oct 2009 10:56:00 +0000 (12:56 +0200)
s/dependancies/dependencies/g

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
utils/ldd.c

index 9cfd984..7411c32 100644 (file)
@@ -608,7 +608,7 @@ static struct library *find_elf_interpreter(ElfW(Ehdr) *ehdr)
 /*
 #warning "There may be two warnings here about vfork() clobbering, ignore them"
 */
-static int find_dependancies(char *filename)
+static int find_dependencies(char *filename)
 {
        int is_suid = 0;
        FILE *thefile;
@@ -764,7 +764,7 @@ int main(int argc, char **argv)
 
                map_cache();
 
-               if (find_dependancies(filename) != 0)
+               if (find_dependencies(filename) != 0)
                        continue;
 
                while (got_em_all) {
@@ -774,7 +774,7 @@ int main(int argc, char **argv)
                                if (cur->resolved == 0 && cur->path) {
                                        got_em_all = 1;
                                        printf("checking sub-depends for '%s'\n", cur->path);
-                                       find_dependancies(cur->path);
+                                       find_dependencies(cur->path);
                                        cur->resolved = 1;
                                }
                        }