Small style(9) fix: use tabs instead of spaces.
This commit is contained in:
parent
9fe5092de1
commit
83dd4eeb78
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211061
@ -39,15 +39,15 @@ static char rcsid[] = "$FreeBSD$";
|
|||||||
int
|
int
|
||||||
ftime(struct timeb *tbp)
|
ftime(struct timeb *tbp)
|
||||||
{
|
{
|
||||||
struct timezone tz;
|
struct timezone tz;
|
||||||
struct timeval t;
|
struct timeval t;
|
||||||
|
|
||||||
if (gettimeofday(&t, &tz) < 0)
|
if (gettimeofday(&t, &tz) < 0)
|
||||||
return (-1);
|
return (-1);
|
||||||
tbp->millitm = t.tv_usec / 1000;
|
tbp->millitm = t.tv_usec / 1000;
|
||||||
tbp->time = t.tv_sec;
|
tbp->time = t.tv_sec;
|
||||||
tbp->timezone = tz.tz_minuteswest;
|
tbp->timezone = tz.tz_minuteswest;
|
||||||
tbp->dstflag = tz.tz_dsttime;
|
tbp->dstflag = tz.tz_dsttime;
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user