mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Fix missing return value in lib/quota/quotaio.c.
Fixes compilation with clang. Submitted by: Zhihao Yuan PR: ports/165218
This commit is contained in:
parent
fb1af77a6a
commit
4baf4c1dda
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291636
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= e2fsprogs
|
||||
PORTVERSION= 1.42
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES?= sysutils
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
|
||||
|
||||
|
11
sysutils/e2fsprogs/files/patch-lib_quota_quotaio.c
Normal file
11
sysutils/e2fsprogs/files/patch-lib_quota_quotaio.c
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user