[BACK]Return to usbhidaction.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / usbhidaction

Diff for /src/usr.bin/usbhidaction/usbhidaction.c between version 1.5 and 1.6

version 1.5, 2004/09/14 22:59:26 version 1.6, 2004/10/27 18:16:57
Line 261 
Line 261 
                                 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);
                         }                          }
                 }                  }
Line 281 
Line 281 
                                 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);
                                 }                                  }
                         }                          }
Line 354 
Line 354 
                 }                  }
                 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:

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6