diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2012-02-17 21:31:06 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2012-02-17 21:31:06 +0000 |
commit | 4baf4c1dda4c9561440ca5097224344f53bbd5eb (patch) | |
tree | 4f9fc3bdc131b36f5148637f048b6d32478da0d2 /sysutils | |
parent | - Update to 4.3 (diff) |
Fix missing return value in lib/quota/quotaio.c.
Fixes compilation with clang.
Submitted by: Zhihao Yuan
PR: ports/165218
Notes
Notes:
svn path=/head/; revision=291636
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/e2fsprogs/Makefile | 2 | ||||
-rw-r--r-- | sysutils/e2fsprogs/files/patch-lib_quota_quotaio.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/e2fsprogs/Makefile b/sysutils/e2fsprogs/Makefile index f8011578c3c1..d40ca8d39f24 100644 --- a/sysutils/e2fsprogs/Makefile +++ b/sysutils/e2fsprogs/Makefile @@ -7,7 +7,7 @@ PORTNAME= e2fsprogs PORTVERSION= 1.42 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} diff --git a/sysutils/e2fsprogs/files/patch-lib_quota_quotaio.c b/sysutils/e2fsprogs/files/patch-lib_quota_quotaio.c new file mode 100644 index 000000000000..a8c429a35abb --- /dev/null +++ b/sysutils/e2fsprogs/files/patch-lib_quota_quotaio.c @@ -0,0 +1,11 @@ +--- ./lib/quota/quotaio.c~ 2011-11-27 19:22:10.000000000 -0600 ++++ ./lib/quota/quotaio.c 2012-02-16 15:08:31.757648919 -0600 +@@ -143,7 +143,7 @@ errcode_t quota_inode_truncate(ext2_fils + + inode.i_dtime = fs->now ? fs->now : time(0); + if (!ext2fs_inode_has_valid_blocks2(fs, &inode)) +- return; ++ return err; + + ext2fs_block_iterate3(fs, ino, BLOCK_FLAG_READ_ONLY, NULL, + release_blocks_proc, NULL);--- ./usr/ports/sysutils/e2fsprogs/files/patch-lib_quota_quotaio.c.orig 2012-02-17 22:18:01.000000000 +0100 |