mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Small style(9) fix: use tabs instead of spaces.
This commit is contained in:
parent
9fe5092de1
commit
83dd4eeb78
1 changed files with 8 additions and 8 deletions
|
|
@ -39,15 +39,15 @@ static char rcsid[] = "$FreeBSD$";
|
|||
int
|
||||
ftime(struct timeb *tbp)
|
||||
{
|
||||
struct timezone tz;
|
||||
struct timeval t;
|
||||
struct timezone tz;
|
||||
struct timeval t;
|
||||
|
||||
if (gettimeofday(&t, &tz) < 0)
|
||||
return (-1);
|
||||
tbp->millitm = t.tv_usec / 1000;
|
||||
tbp->time = t.tv_sec;
|
||||
tbp->timezone = tz.tz_minuteswest;
|
||||
tbp->dstflag = tz.tz_dsttime;
|
||||
if (gettimeofday(&t, &tz) < 0)
|
||||
return (-1);
|
||||
tbp->millitm = t.tv_usec / 1000;
|
||||
tbp->time = t.tv_sec;
|
||||
tbp->timezone = tz.tz_minuteswest;
|
||||
tbp->dstflag = tz.tz_dsttime;
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue