summaryrefslogtreecommitdiffstats
path: root/lib/libufs/cgroup.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2010-02-11 06:22:38 +0000
committermckusick <mckusick@FreeBSD.org>2010-02-11 06:22:38 +0000
commitf9458438c768cae7d300a08ff6a5fa1ae2e15206 (patch)
tree2552aa2be1c8f5a3e84a3b671a97b7a96f56578b /lib/libufs/cgroup.c
parentbe7547b38501513ff615d3a089ba793ac0970447 (diff)
downloadFreeBSD-src-f9458438c768cae7d300a08ff6a5fa1ae2e15206.zip
FreeBSD-src-f9458438c768cae7d300a08ff6a5fa1ae2e15206.tar.gz
Keep Tinderbox happy.
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 2185682..28e5ea8 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;
OpenPOWER on IntegriCloud