The line in sunos_misc.c in settimeofday() saying: timevaladd(&atv, (struct timeval *)&time); should be changed to __timeradd(&atv, (struct timeval *)&time); Actually, it should be just: __timeradd(&atv, &time); and I already did it once, but someone seems to have undone it in one of their recent commits. Anyway, I fixed it.