diff options
| author | 2008-03-22 22:35:15 +0000 | |
|---|---|---|
| committer | 2008-03-22 22:35:15 +0000 | |
| commit | decd1fd68d6584a4a244723912dd0f1d46acb2a7 (patch) | |
| tree | f29012a5e11b9a094873e294b4b620ad3d3dfb2f /usr.sbin/config/files.c | |
| parent | put in explicit suffix rules, they're needed anyways since $< is only used (diff) | |
| download | wireguard-openbsd-decd1fd68d6584a4a244723912dd0f1d46acb2a7.tar.xz wireguard-openbsd-decd1fd68d6584a4a244723912dd0f1d46acb2a7.zip | |
spaces found reading that diff
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", |
