Tito sent in a few patches converting instances of CONFIG_FEATURE_CLEAN_UP to

ENABLE_FEATURE_CLEAN_UP.
This commit is contained in:
Rob Landley
2005-09-08 03:11:58 +00:00
parent 02eb934b0f
commit 658d2cf986
4 changed files with 16 additions and 16 deletions

View File

@ -35,15 +35,15 @@ extern int fdflush_main(int argc, char **argv)
{
int fd, result;
if (argc <= 1)
if (argc != 2)
bb_show_usage();
fd = bb_xopen(argv[1], 0);
result = ioctl(fd, FDFLUSH, 0);
#ifdef CONFIG_FEATURE_CLEAN_UP
close(fd);
#endif
if (ENABLE_FEATURE_CLEAN_UP) close(fd);
if (result) {
bb_perror_nomsg_and_die();
}