Permalink
Browse files

fix warning caused by non-literal format string

  • Loading branch information...
1 parent 834b761 commit c6bdb05d028d238e8bf56f9d46c8299266b311af @gandaro committed Feb 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 follow.c
View
@@ -6,12 +6,12 @@
void errexit(const char* str)
{
- fprintf(stderr,str);
+ perror(str);
exit(1);
}
int main(int argc, char** argv)
-{
+{
int fd, notify;
size_t readchars= 1, inotifysize = sizeof(struct inotify_event);
const char* path = argv[1];

0 comments on commit c6bdb05

Please sign in to comment.