summaryrefslogtreecommitdiff
path: root/usr.bin/file/magic-load.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/file/magic-load.c')
-rw-r--r--usr.bin/file/magic-load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/file/magic-load.c b/usr.bin/file/magic-load.c
index 9d4480d6a8f..c68d4169dc1 100644
--- a/usr.bin/file/magic-load.c
+++ b/usr.bin/file/magic-load.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: magic-load.c,v 1.4 2015/04/25 21:17:09 nicm Exp $ */
+/* $OpenBSD: magic-load.c,v 1.5 2015/05/29 14:15:41 nicm Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -287,7 +287,7 @@ magic_get_strength(struct magic_line *ml)
if (ml->test_not || ml->test_operator == 'x')
return (1);
- n = 20;
+ n = 2 * MAGIC_STRENGTH_MULTIPLIER;
switch (ml->type) {
case MAGIC_TYPE_NONE:
case MAGIC_TYPE_DEFAULT: