Lines Matching defs:CONFIGPATH
60 #define CONFIGPATH "/etc/dispadmin.conf"
274 "token: %s\n", CONFIGPATH, line, name);
279 fatalerr("\"%s\", line %d: syntax error\n", CONFIGPATH,
285 fatalerr("%s: %s is empty\n", cmdpath, CONFIGPATH);
305 if ((fd = open(CONFIGPATH, O_RDONLY, CONFIGPERM)) == -1) {
311 cmdpath, CONFIGPATH, strerror(errno));
316 cmdpath, CONFIGPATH, strerror(errno));
322 "available\n", CONFIGPATH, clname);
335 if ((fd = open(CONFIGPATH, O_RDWR | O_CREAT, CONFIGPERM)) == -1)
336 fatalerr("%s: Failed to open %s (%s)\n", cmdpath, CONFIGPATH,
339 fatalerr("%s: Failed to open stream for %s\n", CONFIGPATH);
341 fatalerr("%s: Failed to truncate %s\n", cmdpath, CONFIGPATH);
346 fatalerr("%s: Failed to write to %s\n", cmdpath, CONFIGPATH);
377 if ((fd = open(CONFIGPATH, O_RDONLY, CONFIGPERM)) == -1) {
383 cmdpath, CONFIGPATH, strerror(errno));
388 cmdpath, CONFIGPATH, strerror(errno));