version 1.5, 2004/09/14 22:59:26 |
version 1.6, 2004/10/27 18:16:57 |
|
|
freecommands(cmds); |
freecommands(cmds); |
return (NULL); |
return (NULL); |
} else { |
} else { |
errx(1, "config file `%s', line %d," |
errx(1, "config file `%s', line %d" |
", syntax error: %s", conf, line, buf); |
", syntax error: %s", conf, line, buf); |
} |
} |
} |
} |
|
|
if (isdemon) { |
if (isdemon) { |
syslog(LOG_WARNING, |
syslog(LOG_WARNING, |
"config file `%s', line %d, " |
"config file `%s', line %d, " |
"bad value: %s\n", |
"bad value: %s", |
conf, line, value); |
conf, line, value); |
freecommands(cmds); |
freecommands(cmds); |
return (NULL); |
return (NULL); |
} else { |
} else { |
errx(1, "config file `%s', line %d, " |
errx(1, "config file `%s', line %d, " |
"bad value: %s\n", |
"bad value: %s", |
conf, line, value); |
conf, line, value); |
} |
} |
} |
} |
|
|
} |
} |
if (isdemon) { |
if (isdemon) { |
syslog(LOG_WARNING, "config file `%s', line %d, HID " |
syslog(LOG_WARNING, "config file `%s', line %d, HID " |
"item not found: `%s'\n", conf, line, name); |
"item not found: `%s'", conf, line, name); |
freecommands(cmds); |
freecommands(cmds); |
return (NULL); |
return (NULL); |
} else { |
} else { |
errx(1, "config file `%s', line %d, HID item " |
errx(1, "config file `%s', line %d, HID item " |
"not found: `%s'\n", conf, line, name); |
"not found: `%s'", conf, line, name); |
} |
} |
|
|
foundhid: |
foundhid: |