From 9a2e8c293d4ff7d066df531870ec111634f59565 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 16 May 2009 20:45:00 +0000 Subject: Correct a little typo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20970 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/rockblox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.1