Fixed error message for unsupported events

This commit is contained in:
Albert S. 2020-08-20 00:20:52 +02:00
джерело 1287532f48
коміт 898e114eef

@ -498,7 +498,7 @@ void parse_options(int argc, char **argv)
case 'm':
optmask = nameToMask(optarg);
if(optmask == 0) {
logerror("Not supported inotify event: %s\n", optmask);
logerror("Not supported inotify event: %s\n", optarg);
exit(EXIT_FAILURE);
}
mask |= optmask;