lkml.org 
[lkml]   [2008]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block: simplify string handling in elv_iosched_store()
On Tue, Oct 14 2008, Li Zefan wrote:
> strlcpy() guarantees the dest buffer is NULL teminated.
>
> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
> ---
> block/elevator.c | 9 ++-------
> 1 files changed, 2 insertions(+), 7 deletions(-)

Applied, thanks

--
Jens Axboe



\
 
 \ /
  Last update: 2008-10-14 08:53    [W:0.041 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site