diff options
Diffstat (limited to 'bootloader/rocker_linux.c')
-rw-r--r-- | bootloader/rocker_linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/rocker_linux.c b/bootloader/rocker_linux.c index cb0e5b66e5..80b3bfbab5 100644 --- a/bootloader/rocker_linux.c +++ b/bootloader/rocker_linux.c | |||
@@ -12,7 +12,7 @@ | |||
12 | * | 12 | * |
13 | * Based on Rockbox iriver bootloader by Linus Nielsen Feltzing | 13 | * Based on Rockbox iriver bootloader by Linus Nielsen Feltzing |
14 | * and the ipodlinux bootloader by Daniel Palffy and Bernard Leach | 14 | * and the ipodlinux bootloader by Daniel Palffy and Bernard Leach |
15 | * | 15 | * |
16 | * This program is free software; you can redistribute it and/or | 16 | * This program is free software; you can redistribute it and/or |
17 | * modify it under the terms of the GNU General Public License | 17 | * modify it under the terms of the GNU General Public License |
18 | * as published by the Free Software Foundation; either version 2 | 18 | * as published by the Free Software Foundation; either version 2 |
@@ -464,7 +464,7 @@ static int open_log(void) | |||
464 | return fd; | 464 | return fd; |
465 | close(fd); | 465 | close(fd); |
466 | /* move file */ | 466 | /* move file */ |
467 | rename("/mnt/sd_0/rockbox.log", "/mnt_sd0/rockbox.log.1"); | 467 | rename("/mnt/sd_0/rockbox.log", "/mnt_sd_0/rockbox.log.1"); |
468 | /* re-open the file, truncate in case the move was unsuccessful */ | 468 | /* re-open the file, truncate in case the move was unsuccessful */ |
469 | return open("/mnt/sd_0/rockbox.log", O_RDWR | O_CREAT | O_APPEND | O_TRUNC); | 469 | return open("/mnt/sd_0/rockbox.log", O_RDWR | O_CREAT | O_APPEND | O_TRUNC); |
470 | } | 470 | } |