diff options
Diffstat (limited to 'usr.sbin/config/files.c')
| -rw-r--r-- | usr.sbin/config/files.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/config/files.c b/usr.sbin/config/files.c index 02b8da6037d..79700551e4d 100644 --- a/usr.sbin/config/files.c +++ b/usr.sbin/config/files.c @@ -1,4 +1,4 @@ -/* $OpenBSD: files.c,v 1.15 2007/11/25 08:26:59 deraadt Exp $ */ +/* $OpenBSD: files.c,v 1.16 2008/03/22 22:35:15 deraadt Exp $ */ /* $NetBSD: files.c,v 1.6 1996/03/17 13:18:17 cgd Exp $ */ /* @@ -126,7 +126,7 @@ addfile(struct nvlist *nvpath, struct nvlist *optx, int flags, const char *rule, * Ensure all tailnames are identical, because .o * filenames must be identical too. */ - if (tail1 && + if (tail1 && (dotp - tail != dotp1 - tail1 || strncmp(tail1, tail, dotp - tail))) error("different production from %s %s", |
