mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
ANSI-fy exec_shell_imgact().
Fix a stray space while here. PR: 223317 MFC after: 3 days
This commit is contained in:
parent
533b437eae
commit
7aa472731e
1 changed files with 2 additions and 3 deletions
|
|
@ -97,8 +97,7 @@ CTASSERT(MAXSHELLCMDLEN >= MAXINTERP + 3);
|
|||
* 6.x branch on May 28, 2005 (matching __FreeBSD_version 600029).
|
||||
*/
|
||||
int
|
||||
exec_shell_imgact(imgp)
|
||||
struct image_params *imgp;
|
||||
exec_shell_imgact(struct image_params *imgp)
|
||||
{
|
||||
const char *image_header = imgp->image_header;
|
||||
const char *ihp, *interpb, *interpe, *maxp, *optb, *opte, *fname;
|
||||
|
|
@ -125,7 +124,7 @@ exec_shell_imgact(imgp)
|
|||
* However, we don't know how far into the page the contents are
|
||||
* valid -- the actual file might be much shorter than the page.
|
||||
* So find out the file size.
|
||||
*/
|
||||
*/
|
||||
error = VOP_GETATTR(imgp->vp, &vattr, imgp->proc->p_ucred);
|
||||
if (error)
|
||||
return (error);
|
||||
|
|
|
|||
Loading…
Reference in a new issue