#include <sys/time.h>
#include <time.h>
#include <stdlib.h>
#include <err.h>

int
main(int argc, char *argv[])
{
    struct timeval tv;

    tv.tv_sec = time(NULL) + (24 * 60 * 60);
    tv.tv_usec = 0;
    if (settimeofday(&tv, NULL) == -1)
        err(EXIT_FAILURE, "settimeofday");

    exit(EXIT_SUCCESS);
}
