removed errors for TOD not set yet.
made nanosleep return -1/EINTR for being interrupted for a signal.