mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
unify text - step 1
This commit is contained in:
parent
090f31d0a7
commit
875b3c44b4
40 changed files with 167 additions and 128 deletions
|
@ -738,7 +738,7 @@ int main(int argc, const char *argv[]) {
|
|||
printf("Testing default keys using NESTED authentication...\n");
|
||||
struct thread_key_args *def = calloc(1, sizeof(struct thread_key_args));
|
||||
if (def == NULL) {
|
||||
fprintf(stderr, "Memory allocation failed\n");
|
||||
fprintf(stderr, "Failed to allocate memory\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
def->thread = 0;
|
||||
|
@ -763,7 +763,7 @@ int main(int argc, const char *argv[]) {
|
|||
for (int i = 0; i < thread_count; ++i) {
|
||||
struct thread_args *a = calloc(1, sizeof(struct thread_args));
|
||||
if (a == NULL) {
|
||||
fprintf(stderr, "Memory allocation failed\n");
|
||||
fprintf(stderr, "Failed to allocate memory\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
a->xored = xored;
|
||||
|
@ -789,7 +789,7 @@ int main(int argc, const char *argv[]) {
|
|||
for (int i = 0; i < thread_count; ++i) {
|
||||
struct thread_args *a = calloc(1, sizeof(struct thread_args));
|
||||
if (a == NULL) {
|
||||
fprintf(stderr, "Memory allocation failed\n");
|
||||
fprintf(stderr, "Failed to allocate memory\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
a->xored = xored;
|
||||
|
@ -836,7 +836,7 @@ int main(int argc, const char *argv[]) {
|
|||
for (int i = 0; i < thread_count; ++i) {
|
||||
struct thread_key_args *b = calloc(1, sizeof(struct thread_key_args));
|
||||
if (b == NULL) {
|
||||
fprintf(stderr, "Memory allocation failed\n");
|
||||
fprintf(stderr, "Failed to allocaet memory\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
b->thread = i;
|
||||
|
|
|
@ -291,7 +291,7 @@ int main(int argc, const char *argv[]) {
|
|||
for (int i = 0; i < thread_count; ++i) {
|
||||
struct thread_args *a = calloc(1, sizeof(struct thread_args));
|
||||
if (a == NULL) {
|
||||
fprintf(stderr, "Failed to allocate memory for thread arguments\n");
|
||||
fprintf(stderr, "Failed to allocate memory\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
a->thread = i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue