Correct a little typo.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20970 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-05-16 20:45:00 +00:00
parent e20548f93e
commit 9a2e8c293d

View file

@ -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))