Fixed error message for unsupported events

This commit is contained in:
Albert S. 2020-08-20 00:20:52 +02:00
parent 1287532f48
commit 898e114eef
1 changed files with 1 additions and 1 deletions

View File

@ -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;