mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
Silence -Wall
Reviewed by: dillon
This commit is contained in:
parent
8fc2f800b0
commit
2ce3df4e05
1 changed files with 2 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ do_single(argc, argv, action)
|
|||
{
|
||||
struct ccd_ioctl ccio;
|
||||
char *ccd, *cp, *cp2, **disks;
|
||||
int noflags = 0, i, ileave, flags, j;
|
||||
int noflags = 0, i, ileave, flags = 0, j;
|
||||
|
||||
bzero(&ccio, sizeof(ccio));
|
||||
|
||||
|
|
@ -327,6 +327,7 @@ do_all(action)
|
|||
int argc, rval;
|
||||
gid_t egid;
|
||||
|
||||
rval = 0;
|
||||
egid = getegid();
|
||||
setegid(getgid());
|
||||
if ((f = fopen(ccdconf, "r")) == NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue