diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2009-05-16 20:45:00 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2009-05-16 20:45:00 +0000 |
| commit | 9a2e8c293d4ff7d066df531870ec111634f59565 (patch) | |
| tree | 37f7e6738917f7de800468b2df75a03665744086 /apps/plugins | |
| parent | e20548f93ea75656d4b7a2525319ea256ea03294 (diff) | |
| download | rockbox-9a2e8c293d4ff7d066df531870ec111634f59565.zip rockbox-9a2e8c293d4ff7d066df531870ec111634f59565.tar.gz rockbox-9a2e8c293d4ff7d066df531870ec111634f59565.tar.bz2 rockbox-9a2e8c293d4ff7d066df531870ec111634f59565.tar.xz | |
Correct a little typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20970 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/rockblox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c index 368ad6b..85fbf1f 100644 --- a/apps/plugins/rockblox.c +++ b/apps/plugins/rockblox.c @@ -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)) |