diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/sys_sh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/sys_sh.c b/arch/sh/kernel/sys_sh.c index b68ff705f067..11c2acde6eaa 100644 --- a/arch/sh/kernel/sys_sh.c +++ b/arch/sh/kernel/sys_sh.c | |||
@@ -281,7 +281,7 @@ asmlinkage int sys_uname(struct old_utsname * name) | |||
281 | if (!name) | 281 | if (!name) |
282 | return -EFAULT; | 282 | return -EFAULT; |
283 | down_read(&uts_sem); | 283 | down_read(&uts_sem); |
284 | err=copy_to_user(name, &system_utsname, sizeof (*name)); | 284 | err = copy_to_user(name, utsname(), sizeof (*name)); |
285 | up_read(&uts_sem); | 285 | up_read(&uts_sem); |
286 | return err?-EFAULT:0; | 286 | return err?-EFAULT:0; |
287 | } | 287 | } |