Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2009 10:41:42 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188641 - head/usr.sbin/pciconf
Message-ID:  <200902151041.n1FAfg0s071807@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sun Feb 15 10:41:42 2009
New Revision: 188641
URL: http://svn.freebsd.org/changeset/base/188641

Log:
  Tune output to remove trailing space.
  
  Submitted by:	Christoph Mallon

Modified:
  head/usr.sbin/pciconf/cap.c

Modified: head/usr.sbin/pciconf/cap.c
==============================================================================
--- head/usr.sbin/pciconf/cap.c	Sun Feb 15 09:56:47 2009	(r188640)
+++ head/usr.sbin/pciconf/cap.c	Sun Feb 15 10:41:42 2009	(r188641)
@@ -427,9 +427,9 @@ cap_pciaf(int fd, struct pci_conf *p, ui
 	uint8_t cap;
 
 	cap = read_config(fd, &p->pc_sel, ptr + PCIR_PCIAF_CAP, 1);
-	printf("PCI Advanced Features: %s%s",
-	    (cap & PCIM_PCIAFCAP_FLR)?"FLR ":"",
-	    (cap & PCIM_PCIAFCAP_TP)?"TP ":"");
+	printf("PCI Advanced Features:%s%s",
+	    cap & PCIM_PCIAFCAP_FLR ? " FLR" : "",
+	    cap & PCIM_PCIAFCAP_TP  ? " TP"  : "");
 }
 
 void



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