mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove an unused variable, and don't try to print a char[] using %d.
Submitted by: Mark Peek <mark@whistle.com>
This commit is contained in:
parent
5d3e1fcab1
commit
b30f37abbb
1 changed files with 2 additions and 2 deletions
|
|
@ -262,7 +262,7 @@ load_entry(file, error_func, pw, envp)
|
|||
|
||||
if (!pw) {
|
||||
char *username = cmd; /* temp buffer */
|
||||
char *s, *group;
|
||||
char *s;
|
||||
struct group *grp;
|
||||
#ifdef LOGIN_CAP
|
||||
login_cap_t *lc;
|
||||
|
|
@ -409,7 +409,7 @@ load_entry(file, error_func, pw, envp)
|
|||
*/
|
||||
e->cmd = strdup(cmd);
|
||||
if (e->cmd == NULL) {
|
||||
warn("strdup(\"%d\")", cmd);
|
||||
warn("strdup(\"%s\")", cmd);
|
||||
ecode = e_mem;
|
||||
goto eof;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue