]> git.hungrycats.org Git - linux/commit
[PATCH] settimeofday() fixes
authorAndrew Morton <akpm@osdl.org>
Fri, 18 Jul 2003 02:27:04 +0000 (19:27 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Fri, 18 Jul 2003 02:27:04 +0000 (19:27 -0700)
commit73a9eb391316788570f02505dcff876779a1f85e
tree024672b70016413a27b12c0a90f7109140102b04
parent5808e76e2a71f1539ba6fe6f16094349b22cb254
[PATCH] settimeofday() fixes

From: davem

- sys_stime() takes an int*, but it should be a time_t*: they have different
  sizes on (for example) sparc64.

- sys_settimeofday() is confusing timevals with timespecs.  They have
  different sizes on sparc64 and the time keeps on getting set to epoch.
kernel/time.c