1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

MF22: revert time bogon.

This commit is contained in:
Jordan K. Hubbard 1998-09-24 13:25:43 +00:00
parent e91db91d4e
commit 9587f05dcb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39620
2 changed files with 2 additions and 4 deletions

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: linux_misc.c,v 1.42 1998/08/16 01:21:50 bde Exp $
* $Id: linux_misc.c,v 1.43 1998/09/23 14:50:26 jkh Exp $
*/
#include <sys/param.h>
@ -682,7 +682,6 @@ linux_time(struct proc *p, struct linux_time_args *args)
printf("Linux-emul(%d): time(*)\n", p->p_pid);
#endif
microtime(&tv);
timevalsub(&tv, &boottime);
tm = tv.tv_sec;
if (args->tm && (error = copyout(&tm, args->tm, sizeof(linux_time_t))))
return error;

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: linux_misc.c,v 1.42 1998/08/16 01:21:50 bde Exp $
* $Id: linux_misc.c,v 1.43 1998/09/23 14:50:26 jkh Exp $
*/
#include <sys/param.h>
@ -682,7 +682,6 @@ linux_time(struct proc *p, struct linux_time_args *args)
printf("Linux-emul(%d): time(*)\n", p->p_pid);
#endif
microtime(&tv);
timevalsub(&tv, &boottime);
tm = tv.tv_sec;
if (args->tm && (error = copyout(&tm, args->tm, sizeof(linux_time_t))))
return error;