=================================================================== RCS file: /cvs/prex-old/usr/lib/posix/time/gettimeofday.c,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.2.1 diff -u -r1.1.1.1 -r1.1.1.1.2.1 --- prex-old/usr/lib/posix/time/gettimeofday.c 2008/06/03 10:38:50 1.1.1.1 +++ prex-old/usr/lib/posix/time/gettimeofday.c 2008/08/13 17:12:41 1.1.1.1.2.1 @@ -41,7 +41,7 @@ if ((fd = open("/dev/rtc", 0)) < 0) return EPERM; - err = ioctl(fd, RTCIOC_GET_TIME, (u_long)tv); + err = ioctl(fd, RTCIOC_GET_TIME, tv); close(fd); return err; }