lkml.org 
[lkml]   [2013]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] mm: compaction: fix echo 1 > compact_memory return error issue
Date
On Sun, Jan 06 2013, Simon Jeons wrote:
>> >write(1, "1\n", 2) = 3

>> Here it tells it.

> On Sun, 2013-01-06 at 08:48 +0000, Liu Hui-R64343 wrote:
> Why this value trouble you?

Because write() is supposed to return the number of bytes successfully
written.

--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał “mina86” Nazarewicz (o o)
ooo +----<email/xmpp: mpn@google.com>--------------ooO--(_)--Ooo--[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-01-06 17:41    [W:0.051 / U:0.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site