lkml.org 
[lkml]   [2008]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] devcgroup: always show unsigned major/minor num
On Mon, Jul 7, 2008 at 6:27 PM, Li Zefan <lizf@cn.fujitsu.com> wrote:
>>> @@ -254,7 +254,7 @@ static void set_majmin(char *str, unsigned m)
>>> if (m == ~0)
>>> sprintf(str, "*");
>>
>> Can't this just be strcat(str, "*")?
>>
>
> No, but it can be strcpy(str, "*").

Oops, yes, that's what I should have put ...

Paul


\
 
 \ /
  Last update: 2008-07-08 03:35    [W:0.045 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site