Correct a little typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20970 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e20548f93e
commit
9a2e8c293d
1 changed files with 1 additions and 1 deletions
|
@ -811,7 +811,7 @@ static int dump_resume(void)
|
|||
int fd;
|
||||
|
||||
fd = rb->open(RESUME_FILE, O_WRONLY|O_CREAT);
|
||||
if (fd <= 0)
|
||||
if (fd < 0)
|
||||
goto fail;
|
||||
|
||||
if (rb->write(fd, &rockblox_status, sizeof(struct _rockblox_status))
|
||||
|
|
Loading…
Reference in a new issue