From c0f3070b65357cb0c74cc392443fcfa4a2c790f5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 17 Jan 2010 08:27:34 +1030 Subject: [PATCH] --- yaml --- r: 179398 b: refs/heads/master c: 3a5dd791abef032fe57fc652c0232913c696e59b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/scripts/mod/file2alias.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index abde7bad6d79..5a5ff0f60229 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6ccf80eb15ccaca4d3f1ab5162b9ded5eecd9971 +refs/heads/master: 3a5dd791abef032fe57fc652c0232913c696e59b diff --git a/trunk/scripts/mod/file2alias.c b/trunk/scripts/mod/file2alias.c index 6f426afbc522..220213e603db 100644 --- a/trunk/scripts/mod/file2alias.c +++ b/trunk/scripts/mod/file2alias.c @@ -804,7 +804,7 @@ static inline int sym_is(const char *symbol, const char *name) match = strstr(symbol, name); if (!match) return 0; - return match[strlen(symbol)] == '\0'; + return match[strlen(name)] == '\0'; } static void do_table(void *symval, unsigned long size,