Commits

Robert Lowry  committed f05afa5

fixed small linux bug, tested linux code. all good!

  • Participants
  • Parent commits e22221a

Comments (0)

Files changed (1)

 
 	if ((evq = inotify_init()) < 0)
 		err(1, "failed inotify_init()");
-	if ((in_wd = inotify_add_watch(evq, argv[1], IN_MODIFY)) < 0)
+	if ((in_wd = inotify_add_watch(evq, infile, IN_MODIFY)) < 0)
 		err(1, "failed inotify_add_watch()");
 
 	for(;;) {