Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 2017 14:25:10 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r325513 - stable/11/sys/kern
Message-ID:  <201711071425.vA7EPAL4015285@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Tue Nov  7 14:25:09 2017
New Revision: 325513
URL: https://svnweb.freebsd.org/changeset/base/325513

Log:
  MFC r325397:
  ANSI-fy exec_shell_imgact().
  
  Fix a stray space while here.
  
  PR:	223317

Modified:
  stable/11/sys/kern/imgact_shell.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/kern/imgact_shell.c
==============================================================================
--- stable/11/sys/kern/imgact_shell.c	Tue Nov  7 13:26:11 2017	(r325512)
+++ stable/11/sys/kern/imgact_shell.c	Tue Nov  7 14:25:09 2017	(r325513)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711071425.vA7EPAL4015285>