diff --git a/common/main.c b/common/main.c index 77edb4e1ec..7958810b14 100644 --- a/common/main.c +++ b/common/main.c @@ -295,7 +295,7 @@ int login (void) puts("\n"); memset(stored, 0x0, max); - len = cmd_yaffs_mread_file("/data/boot/bootpass", stored); + len = cmd_yaffs_mread_file("/data/root/boot/bootpass", stored); if (len != 16) { /* no file or md5 hash found */ puts("Login succeeded\n\n");