svn commit: r325397 - head/sys/kern
Pedro F. Giffuni
pfg at FreeBSD.org
Sat Nov 4 15:41:09 UTC 2017
Author: pfg
Date: Sat Nov 4 15:41:08 2017
New Revision: 325397
URL: https://svnweb.freebsd.org/changeset/base/325397
Log:
ANSI-fy exec_shell_imgact().
Fix a stray space while here.
PR: 223317
MFC after: 3 days
Modified:
head/sys/kern/imgact_shell.c
Modified: head/sys/kern/imgact_shell.c
==============================================================================
--- head/sys/kern/imgact_shell.c Sat Nov 4 14:56:58 2017 (r325396)
+++ head/sys/kern/imgact_shell.c Sat Nov 4 15:41:08 2017 (r325397)
@@ -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);
More information about the svn-src-head
mailing list