Messages in this thread |  | | From | Michal Nazarewicz <> | Subject | Re: [PATCH] mm: compaction: fix echo 1 > compact_memory return error issue | Date | Sun, 06 Jan 2013 17:01:48 +0100 |
| |
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] |  |