NFSLOGTAB
if ((fd = fopen(NFSLOGTAB, "r+")) == NULL) {
syslog(LOG_ERR, gettext("%s - %s\n"), NFSLOGTAB,
syslog(LOG_ERR, gettext("cannot lock %s - %s\n"), NFSLOGTAB,
syslog(LOG_ERR, gettext("Can't stat %s"), NFSLOGTAB);
syslog(LOG_ERR, gettext("cannot read %s: %s\n"), NFSLOGTAB,
if (stat(NFSLOGTAB, &st) == -1) {
NFSLOGTAB, strerror(error));
NFSLOGTAB, strerror(error));
NFSLOGTAB);
fd = fopen(NFSLOGTAB, "r+");
syslog(LOG_ERR, gettext("%s - %s\n"), NFSLOGTAB,
syslog(LOG_ERR, gettext("cannot lock %s - %s\n"), NFSLOGTAB,
NFSLOGTAB);
fd = fopen(NFSLOGTAB, "r+");
syslog(LOG_ERR, gettext("%s: %s\n"), NFSLOGTAB,
NFSLOGTAB, strerror(error));
"Cannot deactivate all entries in %s\n"), NFSLOGTAB);
f = fopen(NFSLOGTAB, "a+");
"for update: %s\n"), NFSLOGTAB, strerror(errno));
"entries in %s\n"), NFSLOGTAB);
"entries in %s\n"), NFSLOGTAB);
"entries in %s\n"), NFSLOGTAB);
dir, NFSLOGTAB);
f = fopen(NFSLOGTAB, "r+");
"update: %s\n"), NFSLOGTAB, strerror(error));
"deactivate %s in %s\n"), path, NFSLOGTAB);