lastlog_openseek
if (!lastlog_openseek(li, &fd, O_RDWR|O_CREAT))
if (!lastlog_openseek(li, &fd, O_RDONLY))