aboutsummaryrefslogtreecommitdiff
path: root/lib/libufs/cgroup.c
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2010-02-11 06:22:38 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2010-02-11 06:22:38 +0000
commit390985729b07e9c64cdb775a9c73bdafa301986c (patch)
tree2552aa2be1c8f5a3e84a3b671a97b7a96f56578b /lib/libufs/cgroup.c
parent178a1e69595092c73efcd07c6d8e3f1f5d9180b5 (diff)
downloadsrc-390985729b07e9c64cdb775a9c73bdafa301986c.tar.gz
src-390985729b07e9c64cdb775a9c73bdafa301986c.zip
Keep Tinderbox happy.
Notes
Notes: svn path=/head/; revision=203768
Diffstat (limited to 'lib/libufs/cgroup.c')
-rw-r--r--lib/libufs/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libufs/cgroup.c b/lib/libufs/cgroup.c
index 2185682e098f..28e5ea87a430 100644
--- a/lib/libufs/cgroup.c
+++ b/lib/libufs/cgroup.c
@@ -59,7 +59,7 @@ cgread1(struct uufsd *disk, int c)
fs = &disk->d_fs;
- if (c >= fs->fs_ncg) {
+ if ((unsigned)c >= fs->fs_ncg) {
return (0);
}
ccg = fsbtodb(fs, cgtod(fs, c)) * disk->d_bsize;