diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2008-04-15 18:34:20 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2008-04-15 18:34:20 +0000 |
commit | 7697609455f3c05a1e0ea4167f10ec7312269a1e (patch) | |
tree | 6663e68d70d3c717ce47cb5f3488da2e75d499eb /firmware | |
parent | fd1e1b7706c47c2c1dff29819bad73118818a512 (diff) |
Fixed FS#7849
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17123 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/common/timefuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/timefuncs.c b/firmware/common/timefuncs.c index 9865b0fe17..659c589155 100644 --- a/firmware/common/timefuncs.c +++ b/firmware/common/timefuncs.c @@ -116,7 +116,7 @@ int set_time(const struct tm *tm) rc = rtc_write_datetime(rtcbuf); - if(rc) + if (rc < 0) return -1; else return 0; |