diff options
Diffstat (limited to 'drivers/net/niu.c')
-rw-r--r-- | drivers/net/niu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/niu.c b/drivers/net/niu.c index 44558fcb56ac..8ce58c4c7dd3 100644 --- a/drivers/net/niu.c +++ b/drivers/net/niu.c | |||
@@ -8143,7 +8143,7 @@ static void __devinit niu_vpd_parse_version(struct niu *np) | |||
8143 | int i; | 8143 | int i; |
8144 | 8144 | ||
8145 | for (i = 0; i < len - 5; i++) { | 8145 | for (i = 0; i < len - 5; i++) { |
8146 | if (!strncmp(s + i, "FCode ", 5)) | 8146 | if (!strncmp(s + i, "FCode ", 6)) |
8147 | break; | 8147 | break; |
8148 | } | 8148 | } |
8149 | if (i >= len - 5) | 8149 | if (i >= len - 5) |