wd = inotify_add_watch(fd, filename, EVENTS);
if (wd == -1)
- err(EXIT_FAILURE, _("%s: cannot add inotify watch."), filename);
+ err(EXIT_FAILURE, _("%s: cannot add inotify watch"), filename);
while (wd >= 0) {
errno = 0;
if (optind == argc) {
dflt_device = get_default_device();
if (!dflt_device)
- err(EXIT_FAILURE, _("No default device is available."));
+ err(EXIT_FAILURE, _("No default device is available"));
}
do {
}
if(freopen ("/dev/null", "r", stdin) == NULL)
- err(EXIT_FAILURE, "stdin->null failed!");
+ err(EXIT_FAILURE, "stdin->null failed");
ul_MD5Final( digest, &ctx );
}
if(freopen ("/dev/null", "r", stdin) == NULL)
- err(EXIT_FAILURE, "stdin->null failed!");
+ err(EXIT_FAILURE, "stdin->null failed");
ul_SHA1Final( digest, &ctx );