[Devel] [PATCH] files: remove extra newline from a message create_ghost_dentry

Dmitry Safonov dsafonov at virtuozzo.com
Thu Jun 8 17:36:58 MSK 2017


On 06/08/2017 05:35 PM, Stanislav Kinsburskiy wrote:
> 08.06.2017 16:33, Dmitry Safonov пишет:
>> On 06/08/2017 05:00 PM, Stanislav Kinsburskiy wrote:
>>> Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
>>> ---
>>>   criu/files-reg.c |    4 ++--
>>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/criu/files-reg.c b/criu/files-reg.c
>>> index bcfe1fd..f749445 100644
>>> --- a/criu/files-reg.c
>>> +++ b/criu/files-reg.c
>>> @@ -219,7 +219,7 @@ again:
>>>               msg = "Can't create node for ghost file";
>>>       } else if (S_ISCHR(gfe->mode) || S_ISBLK(gfe->mode)) {
>>>           if (!gfe->has_rdev) {
>>> -            pr_err("No rdev for ghost device\n");
>>> +            pr_err("No rdev for ghost device");
>>
>> But pr_err() doesn't insert a newline.
> 
> Right.
> Then it's better to take commit bee9cc8a instead this patch.

Ok.

-- 
              Dmitry


More information about the Devel mailing list