diff options
Diffstat (limited to 'fastboot/util.cpp')
-rw-r--r-- | fastboot/util.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fastboot/util.cpp b/fastboot/util.cpp index d02b37fee..900d6ea87 100644 --- a/fastboot/util.cpp +++ b/fastboot/util.cpp @@ -53,6 +53,10 @@ void die(const char* fmt, ...) { exit(EXIT_FAILURE); } +void die(const std::string& str) { + die("%s", str.c_str()); +} + void set_verbose() { g_verbose = true; } |