diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-07-23 07:01:13 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-07-23 07:01:13 +0000 |
commit | 449abf4f57c790576732b7e895616d6538067120 (patch) | |
tree | 1d5910bc60ce2fb8ede91c3aa880039da755bc42 /usr.bin/skeyinfo/skeyinfo.c | |
parent | 689efdfc452f5eb5702bbb9e706306553837eab0 (diff) |
Use _PATH_SKEYKEYS
Diffstat (limited to 'usr.bin/skeyinfo/skeyinfo.c')
-rw-r--r-- | usr.bin/skeyinfo/skeyinfo.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/skeyinfo/skeyinfo.c b/usr.bin/skeyinfo/skeyinfo.c index ab48750b7e8..ebd8074b0a0 100644 --- a/usr.bin/skeyinfo/skeyinfo.c +++ b/usr.bin/skeyinfo/skeyinfo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: skeyinfo.c,v 1.3 1997/07/23 06:31:18 millert Exp $ */ +/* $OpenBSD: skeyinfo.c,v 1.4 1997/07/23 07:01:12 millert Exp $ */ /* * Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> @@ -98,13 +98,12 @@ main(argc, argv) (void)printf("%d %s\n", key.n - 1, key.seed); break; case -1: /* File error */ - /* XXX - _PATH_SKEYFILE should be in paths.h? */ - warnx("cannot open /etc/skeykeys"); + warnx("cannot open %s", _PATH_SKEYKEYS); break; case 1: /* Unknown user */ - warnx("%s is not listed in /etc/skeykeys", name); + warnx("%s is not listed in %s", name, _PATH_SKEYKEYS); } - (void)fclose(mp->keyfile); + (void)fclose(key.keyfile); exit(errs); } |