summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.cxx b/main.cxx
index bba27e31..58d7fa9f 100644
--- a/main.cxx
+++ b/main.cxx
@@ -499,7 +499,6 @@ main (int argc, char * const argv [])
}
}
- cerr << "Warning: using '-m' disables cache support." << endl;
s.use_cache = false;
break;
@@ -972,7 +971,10 @@ main (int argc, char * const argv [])
rc = compile_pass (s);
if (rc == 0 && s.last_pass == 4)
- cout << s.hash_path << endl;
+ {
+ cout << ((s.hash_path == "") ? (s.module_name + string(".ko")) : s.hash_path);
+ cout << endl;
+ }
times (& tms_after);
gettimeofday (&tv_after, NULL);