aboutsummaryrefslogtreecommitdiffstats
path: root/quota
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-08-01 17:06:45 -0500
committerEric Sandeen <sandeen@redhat.com>2018-08-01 17:06:45 -0500
commit68d169079dddf3272453f8e73a781f4eee388eb8 (patch)
tree6d323e167986ce43f6b1beb2dbb7e0ca56ba3715 /quota
parent581c24aade3ee3dedcecac5feb40b589476b922d (diff)
downloadxfsprogs-dev-68d169079dddf3272453f8e73a781f4eee388eb8.tar.gz
misc: clean up MIN/MAX in the utilities
Get rid of the MIN/MAX macros and just use the native min/max macros directly in the XFS code, just like we did for libxfs. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Diffstat (limited to 'quota')
-rw-r--r--quota/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quota/util.c b/quota/util.c
index c7f64121eb..50470aba7b 100644
--- a/quota/util.c
+++ b/quota/util.c
@@ -29,7 +29,7 @@ time_to_string(
timer = origin;
} else {
time(&now);
- timer = MAX(origin - now, 0);
+ timer = max(origin - now, 0);
}
/*