Skip to content

Commit

Permalink
Remove unnecessary system()
Browse files Browse the repository at this point in the history
> > Also, in eyefi-freebsd.c I forgot to remove
> > >                system("cat /proc/mounts >&2");
> > >                > in debug section, as it makes no sense anyway.
  • Loading branch information
Dave Hansen committed Sep 15, 2010
1 parent 46f4328 commit ca50694
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eyefi-freebsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ char *locate_eyefi_mount(void)
} else {
debug_printf(0, "----------------------------------------------\n");
debug_printf(0, "Debug information:\n");
system("cat /proc/mounts >&2");
}
exit(1);
return NULL;
}
}

0 comments on commit ca50694

Please sign in to comment.