From 40c138bfc6d37dbff5339f84575db1e3cec6e34e Mon Sep 17 00:00:00 2001 From: Harald Koerfgen Date: Sun, 4 Jul 1999 12:10:04 +0000 Subject: Typo corrected --- kernel/sys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kernel/sys.c') diff --git a/kernel/sys.c b/kernel/sys.c index 4752c9ce6..dca8acdd6 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -613,13 +613,14 @@ asmlinkage long sys_times(struct tms * tbuf) * atomically safe type this is just fine. Conceptually its * as if the syscall took an instant longer to occur. */ - if (tbuf) + if (tbuf) { temp.tms_utime = HZ_TO_STD(current->times.tms_utime); temp.tms_stime = HZ_TO_STD(current->times.tms_stime); temp.tms_cutime = HZ_TO_STD(current->times.tms_cutime); temp.tms_cstime = HZ_TO_STD(current->times.tms_cstime); if (copy_to_user(tbuf, &temp, sizeof(struct tms))) return -EFAULT; + } return HZ_TO_STD(jiffies); } -- cgit v1.2.3