diff options
Diffstat (limited to 'env/mmc.c')
-rw-r--r-- | env/mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/mmc.c b/env/mmc.c index 4e67180b23a..ee376c3e0c3 100644 --- a/env/mmc.c +++ b/env/mmc.c @@ -42,7 +42,7 @@ static inline int mmc_offset_try_partition(const char *str, int copy, s64 *val) if (ret < 0) return ret; - if (!strncmp((const char *)info.name, str, sizeof(str))) + if (!strncmp((const char *)info.name, str, sizeof(info.name))) break; } |