diff options
Diffstat (limited to 'arch/alpha/kernel/osf_sys.c')
-rw-r--r-- | arch/alpha/kernel/osf_sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index 5d1e6d6ce684..16bc1f5df3e2 100644 --- a/arch/alpha/kernel/osf_sys.c +++ b/arch/alpha/kernel/osf_sys.c | |||
@@ -594,7 +594,7 @@ SYSCALL_DEFINE2(osf_sigstack, struct sigstack __user *, uss, | |||
594 | 594 | ||
595 | SYSCALL_DEFINE3(osf_sysinfo, int, command, char __user *, buf, long, count) | 595 | SYSCALL_DEFINE3(osf_sysinfo, int, command, char __user *, buf, long, count) |
596 | { | 596 | { |
597 | char *sysinfo_table[] = { | 597 | const char *sysinfo_table[] = { |
598 | utsname()->sysname, | 598 | utsname()->sysname, |
599 | utsname()->nodename, | 599 | utsname()->nodename, |
600 | utsname()->release, | 600 | utsname()->release, |
@@ -606,7 +606,7 @@ SYSCALL_DEFINE3(osf_sysinfo, int, command, char __user *, buf, long, count) | |||
606 | "dummy", /* secure RPC domain */ | 606 | "dummy", /* secure RPC domain */ |
607 | }; | 607 | }; |
608 | unsigned long offset; | 608 | unsigned long offset; |
609 | char *res; | 609 | const char *res; |
610 | long len, err = -EINVAL; | 610 | long len, err = -EINVAL; |
611 | 611 | ||
612 | offset = command-1; | 612 | offset = command-1; |