Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2001 12:19:58 +0300 (EEST)
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/28628: small indentation change to /sys/kern/kern_sysctl.c
Message-ID:  <200107020919.f629Jwk07913@hades.hell.gr>

next in thread | raw e-mail | index | archive | help

>Number:         28628
>Category:       kern
>Synopsis:       small indentation change to /sys/kern/kern_sysctl.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 02 04:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Giorgos Keramidas
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hades.hell.gr 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Jun 24 18:34:43 EEST 2001 root@hades.hell.gr:/usr/obj/usr/src/sys/CHARON i386

>Description:

	Minor indentation change to make things look a little better.
	The call to suser_xxx() is wrapped, but the wrapped line is
	column-aligned with the rest of the conditions of an if ().

>How-To-Repeat:

	Fire up an editor on revision 1.110 of sys/kern/kern_sysctl.c

>Fix:

Index: kern_sysctl.c
===================================================================
RCS file: /home/ncvs/src/sys/kern/kern_sysctl.c,v
retrieving revision 1.110
diff -c -t -r1.110 kern_sysctl.c
*** kern_sysctl.c	2001/06/22 19:54:38	1.110
--- kern_sysctl.c	2001/07/02 09:11:51
***************
*** 1027,1033 ****
          if (!(oid->oid_kind & CTLFLAG_ANYBODY) &&
              req->newptr && req->p &&
              (error = suser_xxx(0, req->p, 
!             (oid->oid_kind & CTLFLAG_PRISON) ? PRISON_ROOT : 0)))
                  return (error);
  
          if (!oid->oid_handler)
--- 1027,1034 ----
          if (!(oid->oid_kind & CTLFLAG_ANYBODY) &&
              req->newptr && req->p &&
              (error = suser_xxx(0, req->p, 
!                          (oid->oid_kind & CTLFLAG_PRISON) ?  PRISON_ROOT : 0)))
! 
                  return (error);
  
          if (!oid->oid_handler)
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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