summaryrefslogtreecommitdiff
path: root/smbutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'smbutil.c')
-rw-r--r--smbutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smbutil.c b/smbutil.c
index a8203bf6..23c59ab2 100644
--- a/smbutil.c
+++ b/smbutil.c
@@ -320,7 +320,7 @@ smb_data_print(netdissect_options *ndo, const u_char *buf, u_int len)
while (n--)
ND_PRINT(" ");
- n = min(8, i % 16);
+ n = ND_MIN(8, i % 16);
print_asc(ndo, buf + i - (i % 16), n);
ND_PRINT(" ");
n = (i % 16) - n;