VirtualBox

Changeset 1069 in vbox for trunk


Ignore:
Timestamp:
Feb 27, 2007 8:46:18 AM (18 years ago)
Author:
vboxsync
Message:

removed dead code, one todo

Location:
trunk/src/VBox/Additions/linux/daemon
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/daemon/Makefile

    r762 r1069  
    3232vboxadd-timesync_LIBS     = \
    3333    $(PATH_LIB)/RuntimeLnx32GuestR3.a
    34 #    $(PATH_LIB)/VBoxGuestLibLinux.a - what was this doing here? it's ring-0 library from what I can tell...
    3534vboxadd-timesync_DEFS     = _GNU_SOURCE
    3635
  • trunk/src/VBox/Additions/linux/daemon/vboxadd_timesync.c

    r5 r1069  
    3636{
    3737    printf("vboxadd-timesync [--interval <seconds>]\n"
    38            "                 [--daemonize]"
    39            "\n");
     38           "                 [--daemonize]\n");
    4039}
    4140
     
    8584    int secInterval = 10;
    8685    int fDaemonize = 0;
    87     int c;
    88     int fd;
     86    int c, fd;
    8987    VMMDevReqHostTime req;
    9088
     
    153151            if (VBOX_SUCCESS(req.header.rc))
    154152            {
    155                 /* set the system time */
     153                /** Set the system time.
     154                 *  @@todo r=frank: This is too choppy. Adapt time smoother and try
     155                 *                  to prevent negative time differences. */
    156156                struct timeval tv;
    157                 tv.tv_sec  = req.time / (uint64_t)1000;
     157                tv.tv_sec  =  req.time / (uint64_t)1000;
    158158                tv.tv_usec = (req.time % (uint64_t)1000) * 1000;
    159159                settimeofday(&tv, NULL);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette