From 6cb64d1a08a1a18a158422d943835a1ab8f14a56 Mon Sep 17 00:00:00 2001 From: "R. Bernstein" Date: Wed, 23 Dec 2009 22:13:51 -0500 Subject: [PATCH] gnu_linux.c: run_mmc_cmd_linux: be sure to set return return code. testiso9660.c: broke things working when on hacking on Solaris --- lib/driver/gnu_linux.c | 2 ++ test/testiso9660.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/driver/gnu_linux.c b/lib/driver/gnu_linux.c index 8098075e..e5cbbc36 100644 --- a/lib/driver/gnu_linux.c +++ b/lib/driver/gnu_linux.c @@ -1262,6 +1262,8 @@ run_mmc_cmd_linux( void *p_user_data, } return DRIVER_OP_ERROR; } + /*Not sure if this the best thing, but we'll use anyway. */ + return DRIVER_OP_SUCCESS; } /*! diff --git a/test/testiso9660.c b/test/testiso9660.c index 244f22ee..ef3fd117 100644 --- a/test/testiso9660.c +++ b/test/testiso9660.c @@ -289,8 +289,7 @@ main (int argc, const char *argv[]) printf("same as that set with iso9660_set_ltime().\n"); return 47; } - } - { + p_tm = gmtime(&now); iso9660_set_ltime(p_tm, <ime); iso9660_get_ltime(<ime, &tm);