diff options
| author | 2010-06-02 20:42:17 +0000 | |
|---|---|---|
| committer | 2010-06-02 20:42:17 +0000 | |
| commit | 83cbbcda672a0b33915cae78cd4350f55397512e (patch) | |
| tree | 44cd1ddeb240d50ed977b07494efead5c8d7daa3 /usr.sbin/config/files.c | |
| parent | Update to sudo 1.7.2p7 (diff) | |
| download | wireguard-openbsd-83cbbcda672a0b33915cae78cd4350f55397512e.tar.xz wireguard-openbsd-83cbbcda672a0b33915cae78cd4350f55397512e.zip | |
fix potential use of uninitialized value, and remove unused variables.
ok deraadt@
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 79700551e4d..b04e3c0b66e 100644 --- a/usr.sbin/config/files.c +++ b/usr.sbin/config/files.c @@ -1,4 +1,4 @@ -/* $OpenBSD: files.c,v 1.16 2008/03/22 22:35:15 deraadt Exp $ */ +/* $OpenBSD: files.c,v 1.17 2010/06/02 20:42:17 chl Exp $ */ /* $NetBSD: files.c,v 1.6 1996/03/17 13:18:17 cgd Exp $ */ /* @@ -102,7 +102,7 @@ addfile(struct nvlist *nvpath, struct nvlist *optx, int flags, const char *rule, goto bad; } if (optx == NULL && (needc || needf)) { - error("nothing to %s for %s", needc ? "count" : "flag", path); + error("nothing to %s", needc ? "count" : "flag"); goto bad; } |
