aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc')
-rw-r--r--fs/proc/proc_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c
index 51815cece6f3..9397ff62553e 100644
--- a/fs/proc/proc_misc.c
+++ b/fs/proc/proc_misc.c
@@ -252,8 +252,8 @@ static int version_read_proc(char *page, char **start, off_t off,
252{ 252{
253 int len; 253 int len;
254 254
255 strcpy(page, linux_banner); 255 len = sprintf(page, linux_banner,
256 len = strlen(page); 256 utsname()->release, utsname()->version);
257 return proc_calc_metrics(page, start, off, count, eof, len); 257 return proc_calc_metrics(page, start, off, count, eof, len);
258} 258}
259 259