Remove unnecessary system()

> > Also, in eyefi-freebsd.c I forgot to remove
> > >                system("cat /proc/mounts >&2");
> > >                > in debug section, as it makes no sense anyway.
This commit is contained in:
Dave Hansen 2010-09-15 10:28:20 -07:00
parent 46f43282c9
commit ca5069404b

View file

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