summaryrefslogtreecommitdiffstats
path: root/source4/torture/raw/open.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-24 14:20:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:16 -0500
commita30340affe789cd0c001e34c8e523fbba0742cfc (patch)
treef294f3a10c765cb694821f77183e392a203f66dc /source4/torture/raw/open.c
parente2e3a8e007ac2a9533f4205622a6e17d57845fcc (diff)
downloadsamba-a30340affe789cd0c001e34c8e523fbba0742cfc.tar.gz
samba-a30340affe789cd0c001e34c8e523fbba0742cfc.tar.xz
samba-a30340affe789cd0c001e34c8e523fbba0742cfc.zip
r15201: Use abs() rather then ABS()
(This used to be commit 1f3833d041fddaf79cd19d4f236780a02e97f095)
Diffstat (limited to 'source4/torture/raw/open.c')
-rw-r--r--source4/torture/raw/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/open.c b/source4/torture/raw/open.c
index 5dcb3cc9b6d..2d4a6132d0d 100644
--- a/source4/torture/raw/open.c
+++ b/source4/torture/raw/open.c
@@ -93,7 +93,7 @@ static const char *rdwr_string(enum rdwr_mode m)
CHECK_STATUS(status, NT_STATUS_OK); \
t1 = t & ~1; \
t2 = nt_time_to_unix(finfo.all_info.out.field) & ~1; \
- if (ABS(t1-t2) > 2) { \
+ if (abs(t1-t2) > 2) { \
printf("(%s) wrong time for field %s %s - %s\n", \
__location__, #field, \
timestring(mem_ctx, t1), \