exception: fix typo: getMessge() → getMessage() v_0 v0.18
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 27 Nov 2021 23:15:15 +0100
branchv_0
changeset 26 b4c4c7f937e9
parent 25 f71eb7aefd25
child 27 3d2d4c863431
exception: fix typo: getMessge() → getMessage()
src/relpipe-in-fstab.cpp
--- a/src/relpipe-in-fstab.cpp	Sun May 09 17:20:30 2021 +0200
+++ b/src/relpipe-in-fstab.cpp	Sat Nov 27 23:15:15 2021 +0100
@@ -71,11 +71,11 @@
 
 		resultCode = CLI::EXIT_CODE_SUCCESS;
 	} catch (RelpipeCLIException e) {
-		fwprintf(stderr, L"Caught CLI exception: %ls\n", e.getMessge().c_str());
+		fwprintf(stderr, L"Caught CLI exception: %ls\n", e.getMessage().c_str());
 		fwprintf(stderr, L"Debug: Input stream: eof=%ls, lastRead=%d\n", (cin.eof() ? L"true" : L"false"), cin.gcount());
 		resultCode = e.getExitCode();
 	} catch (RelpipeWriterException e) {
-		fwprintf(stderr, L"Caught Writer exception: %ls\n", e.getMessge().c_str());
+		fwprintf(stderr, L"Caught Writer exception: %ls\n", e.getMessage().c_str());
 		fwprintf(stderr, L"Debug: Input stream: eof=%ls, lastRead=%d\n", (cin.eof() ? L"true" : L"false"), cin.gcount());
 		resultCode = CLI::EXIT_CODE_DATA_ERROR;
 	}