From a7a038c54d11d052a20692f3e6ff1bba43c938c0 Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Fri, 19 Dec 2014 18:48:54 +0100 Subject: [PATCH] UEFIFind 0.1.1 -solved a typo in GUID output --- UEFIFind/uefifind.cpp | 2 +- UEFIFind/uefifind_main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UEFIFind/uefifind.cpp b/UEFIFind/uefifind.cpp index f9663c9..2ef611d 100644 --- a/UEFIFind/uefifind.cpp +++ b/UEFIFind/uefifind.cpp @@ -86,7 +86,7 @@ UINT8 UEFIFind::find(const UINT8 mode, const bool count, const QString & hexPatt UINT8 u8_7 = *(UINT8*)(data.constData() + 14); UINT8 u8_8 = *(UINT8*)(data.constData() + 15); - QString guid = QString("%1-%2-%3-%4%5%6%7%8%9%10%11\n").hexarg(u32, 8).hexarg(u16_1, 4).hexarg(u16_2, 4).hexarg(u8_1, 2).hexarg(u8_2, 2) + QString guid = QString("%1-%2-%3-%4%5-%6%7%8%9%10%11\n").hexarg(u32, 8).hexarg(u16_1, 4).hexarg(u16_2, 4).hexarg(u8_1, 2).hexarg(u8_2, 2) .hexarg(u8_3, 2).hexarg(u8_4, 2).hexarg(u8_5, 2).hexarg(u8_6, 2).hexarg(u8_7, 2).hexarg(u8_8, 2); result.append(guid); diff --git a/UEFIFind/uefifind_main.cpp b/UEFIFind/uefifind_main.cpp index bc353f2..11c58f7 100644 --- a/UEFIFind/uefifind_main.cpp +++ b/UEFIFind/uefifind_main.cpp @@ -64,7 +64,7 @@ int main(int argc, char *argv[]) return ERR_SUCCESS; } else { - std::cout << "UEFIFind 0.1.0" << std::endl << std::endl << + std::cout << "UEFIFind 0.1.1" << std::endl << std::endl << "Usage: uefifind {header | body | all} {list | count} pattern imagefile\n"; return ERR_INVALID_PARAMETER; }