Fixed FS#7849

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17123 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2008-04-15 18:34:20 +00:00
parent fd1e1b7706
commit 7697609455

View file

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