fujita/tgt — pull request #11 by NsLib (2014-06-24 07:47:00+00:00)
Title: fix logarea_init() -> shmat() wrong return value check

On success shmat() returns the address of the attached shared memory segment; on error (void *) -1 is returned, and errno is set to indicate the cause of the error.

So, the original code `if (!la)` will never be true;