aboutsummaryrefslogtreecommitdiff
path: root/lib/libufs/cgroup.c
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2003-06-09 09:32:29 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2003-06-09 09:32:29 +0000
commit1081253fa0d38c8e91b704fac81243aae9d547b6 (patch)
tree0e4c5f45f47c1d045d3eb607b082c94f3fb35ed3 /lib/libufs/cgroup.c
parentfeff4d850744d7dcc302b688d65ffeabab528e32 (diff)
downloadsrc-1081253fa0d38c8e91b704fac81243aae9d547b6.tar.gz
src-1081253fa0d38c8e91b704fac81243aae9d547b6.zip
Reduce diffs with code in Perforce:
Parenthesise return values.
Notes
Notes: svn path=/head/; revision=116084
Diffstat (limited to 'lib/libufs/cgroup.c')
-rw-r--r--lib/libufs/cgroup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libufs/cgroup.c b/lib/libufs/cgroup.c
index a1d624df0049..d615b18dd32b 100644
--- a/lib/libufs/cgroup.c
+++ b/lib/libufs/cgroup.c
@@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$");
int
cgread(struct uufsd *disk)
{
- return cgread1(disk, disk->d_ccg++);
+ return (cgread1(disk, disk->d_ccg++));
}
int
@@ -60,14 +60,14 @@ cgread1(struct uufsd *disk, int c)
fs = &disk->d_fs;
if (c >= fs->fs_ncg) {
- return 0;
+ return (0);
}
ccg = fsbtodb(fs, cgtod(fs, c)) * disk->d_bsize;
if (bread(disk, fsbtodb(fs, cgtod(fs, c)), disk->d_cgunion.d_buf,
fs->fs_bsize) == -1) {
ERROR(disk, "unable to read cylinder group");
- return -1;
+ return (-1);
}
disk->d_lcg = c;
- return 1;
+ return (1);
}