From 6179a6109cc0f523fefa15112714ebb54be49eec Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 21 Mar 2017 12:31:19 -0500 Subject: Properly initialize the password --- src/hashpwd.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/hashpwd.cpp') diff --git a/src/hashpwd.cpp b/src/hashpwd.cpp index 76e656a..4931d93 100644 --- a/src/hashpwd.cpp +++ b/src/hashpwd.cpp @@ -155,7 +155,7 @@ int badPassword(string &passwd) void usage(void) { cout << "usage:" << endl << - " hashpwd [-v] [[-d did] [-m mac] | [-p password]] salt" << endl << + " mts-hashpwd [-v] [[-d did] [-m mac] | [-p password]] salt" << endl << " -v verbose" << endl << " -d did Device ID (serial #)" << endl << " -m mac Ethernet mac address" << endl << @@ -177,7 +177,7 @@ int main(int argc, char **argv) { case 'v': v = 1; cout << " verbose" <