atom feed1 message in org.freebsd.p4-projectsPERFORCE change 205484 for review
FromSent OnAttachments
Pawel Jakub DawidekJan 31, 2012 11:03 am 
Subject:PERFORCE change 205484 for review
From:Pawel Jakub Dawidek (pj@FreeBSD.org)
Date:Jan 31, 2012 11:03:16 am
List:org.freebsd.p4-projects

http://p4web.freebsd.org/@@205484?ac=10

Change 205484 by pjd@pjd_anger on 2012/01/31 19:03:22

Style.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_control.c#35 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_control.c#35 (text+ko) ====

@@ -27,7 +27,7 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_control.c#34 $ + * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_control.c#35 $ */

#include <config/config.h> @@ -71,8 +71,8 @@ * Audit policy string token table for au_poltostr() and au_strtopol(). */ struct audit_polstr { - long ap_policy; - const char *ap_str; + long ap_policy; + const char *ap_str; };

static struct audit_polstr au_polstr[] = { @@ -183,7 +183,7 @@ }

/* - * Convert a given disk space value with a multiplier (bytes, kilobytes, + * Convert a given disk space value with a multiplier (bytes, kilobytes, * megabytes, gigabytes) to bytes. Return 0 on success. */ static int @@ -691,7 +691,7 @@

/* First, trim off any leading white space. */ while (*str == ' ' || *str == '\t') - str++; + str++;

nparsed = sscanf(str, "%lu%c%[ \tadnorADNOR]%lu%c", &val1, &mult1, andor, &val2, &mult2);