fix logarea_init() -> shmat() wrong return value check