]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r232548:
authortrasz <trasz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 23 Jun 2012 18:58:02 +0000 (18:58 +0000)
committertrasz <trasz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 23 Jun 2012 18:58:02 +0000 (18:58 +0000)
commit07dc219a35fa94e035167a72612d9fcc1c545551
tree6db30464f1a35c2a883876d1ec8a52cd903d0049
parent47b28901c88c9bd45970a94806ce5403fffd0bba
MFC r232548:

Make growfs(8) mostly style compliant.  No functional changes,
verified with MD5.

MFC r232858:

After r232548, clang complains about the apparent '=-' operator (a
left-over from ancient C times, and a frequent typo) in growfs.c:

sbin/growfs/growfs.c:1550:8: error: use of unary operator that may be intended as compound assignment (-=) [-Werror]
        blkno =- 1;
              ^~

Use 'blkno = -1' instead, to silence the error.

git-svn-id: svn://svn.freebsd.org/base/stable/9@237497 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/growfs/debug.c
sbin/growfs/growfs.c