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
|
||||
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 New Issue
Block a user