1. Robert Lowry
  2. pcw-bsd

Commits

Robert Lowry  committed f05afa5

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

  • Participants
  • Parent commits e22221a
  • Branches default

Comments (0)

Files changed (1)

File cw.c

View file
  • Ignore whitespace
 
 	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(;;) {