mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fix the cut of version and git sha-hash
This commit is contained in:
parent
3ff2f28305
commit
b8e8c41f28
1 changed files with 2 additions and 2 deletions
|
@ -1611,7 +1611,7 @@ void pm3_version_short(void) {
|
||||||
if (ptr != NULL) {
|
if (ptr != NULL) {
|
||||||
char *ptr_end = strstr(ptr, "\n");
|
char *ptr_end = strstr(ptr, "\n");
|
||||||
if (ptr_end != NULL) {
|
if (ptr_end != NULL) {
|
||||||
uint8_t len = ptr_end - 19 - ptr;
|
uint8_t len = ptr_end - 12 - ptr;
|
||||||
PrintAndLogEx(NORMAL, " Bootrom... %.*s", len, ptr + 12);
|
PrintAndLogEx(NORMAL, " Bootrom... %.*s", len, ptr + 12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1621,7 +1621,7 @@ void pm3_version_short(void) {
|
||||||
if (ptr != NULL) {
|
if (ptr != NULL) {
|
||||||
char *ptr_end = strstr(ptr, "\n");
|
char *ptr_end = strstr(ptr, "\n");
|
||||||
if (ptr_end != NULL) {
|
if (ptr_end != NULL) {
|
||||||
uint8_t len = ptr_end - 14 - ptr;
|
uint8_t len = ptr_end - 12 - ptr;
|
||||||
PrintAndLogEx(NORMAL, " OS........ %.*s", len, ptr + 12);
|
PrintAndLogEx(NORMAL, " OS........ %.*s", len, ptr + 12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue