projects
/
cfe_generate_password.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8ab17a7
)
replace literal with constant
author
Tj
<hacker@iam.tj>
Thu, 8 Oct 2015 00:28:46 +0000
(
01:28
+0100)
committer
Tj
<hacker@iam.tj>
Thu, 8 Oct 2015 00:28:46 +0000
(
01:28
+0100)
cfe_generate_password.c
patch
|
blob
|
history
diff --git
a/cfe_generate_password.c
b/cfe_generate_password.c
index
2e21b45
..
927b9e6
100644
(file)
--- a/
cfe_generate_password.c
+++ b/
cfe_generate_password.c
@@
-131,7
+131,7
@@
generate_seed(char *mac, char *timestamp, char *seed)
}
result = 1;
} else
}
result = 1;
} else
- pr_error_exit(0, "MAC-ADDR should be
17 characters, e.g: 00:01:02:03:04:05"
);
+ pr_error_exit(0, "MAC-ADDR should be
%d characters, e.g: 00:01:02:03:04:05", MAC_ADDR_SIZE
);
return result;
}
return result;
}