gnu_linux.c: run_mmc_cmd_linux: be sure to set return return code.

testiso9660.c: broke things working when on hacking on Solaris
This commit is contained in:
R. Bernstein
2009-12-23 22:13:51 -05:00
parent d62c732082
commit 6cb64d1a08
2 changed files with 3 additions and 2 deletions

View File

@@ -1262,6 +1262,8 @@ run_mmc_cmd_linux( void *p_user_data,
} }
return DRIVER_OP_ERROR; return DRIVER_OP_ERROR;
} }
/*Not sure if this the best thing, but we'll use anyway. */
return DRIVER_OP_SUCCESS;
} }
/*! /*!

View File

@@ -289,8 +289,7 @@ main (int argc, const char *argv[])
printf("same as that set with iso9660_set_ltime().\n"); printf("same as that set with iso9660_set_ltime().\n");
return 47; return 47;
} }
}
{
p_tm = gmtime(&now); p_tm = gmtime(&now);
iso9660_set_ltime(p_tm, &ltime); iso9660_set_ltime(p_tm, &ltime);
iso9660_get_ltime(&ltime, &tm); iso9660_get_ltime(&ltime, &tm);