From ef7c9a6377a80741921240a16d02ea09adf929f9 Mon Sep 17 00:00:00 2001 From: Benjamin Dobell Date: Sun, 10 Mar 2013 01:26:22 +1100 Subject: Fixed output bug attempting to log a std::string instead of a C-style string with printf. --- heimdall/source/Arguments.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'heimdall/source/Arguments.cpp') diff --git a/heimdall/source/Arguments.cpp b/heimdall/source/Arguments.cpp index 7f2d9ee..9a40540 100644 --- a/heimdall/source/Arguments.cpp +++ b/heimdall/source/Arguments.cpp @@ -197,7 +197,7 @@ bool Arguments::ParseArguments(int argc, char **argv, int argi) if (!insertResult.second) { - Interface::Print("Duplicate argument: %s (%s)\n\n", argv[argi], argumentName); + Interface::Print("Duplicate argument: %s (%s)\n\n", argv[argi], argumentName.c_str()); delete argument; return (false); -- cgit v1.2.3