printpath() had some cut & paste tests of "c" - but nothing had set it yet other than c=0, so testing it is pointless. Just remove tests for non-zero "c" until we might have set it to something interesting. Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> --- quota/path.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quota/path.c b/quota/path.c index e9a6834..47fdd93 100644 --- a/quota/path.c +++ b/quota/path.c @@ -54,9 +54,9 @@ printpath( c = 0; printf(" ("); if (qstat.qs_flags & XFS_QUOTA_UDQ_ENFD) - c = printf("%suquota", c ? ", " : ""); + c = printf("uquota"); else if (qstat.qs_flags & XFS_QUOTA_UDQ_ACCT) - c = printf("%suqnoenforce", c ? ", " : ""); + c = printf("uqnoenforce"); if (qstat.qs_flags & XFS_QUOTA_GDQ_ENFD) c = printf("%sgquota", c ? ", " : ""); else if (qstat.qs_flags & XFS_QUOTA_GDQ_ACCT) -- 1.7.1 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs