mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fix style bug.
This commit is contained in:
parent
91a4536f22
commit
f7bec57b78
1 changed files with 1 additions and 1 deletions
|
|
@ -14,5 +14,5 @@ setprogname(const char *progname)
|
|||
const char *p;
|
||||
|
||||
p = strrchr(progname, '/');
|
||||
__progname = p ? p + 1 : progname;
|
||||
__progname = p != NULL ? p + 1 : progname;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue