From a3e5a1168e26b8ccce93206aa3c3b9e1967e1735 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 15 Sep 1994 15:03:00 +0000 Subject: [PATCH] Fix error string ("for reading" -> "for writing") git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4240 dc483132-0cff-0310-8789-dd5450dbe970 --- src/admin/edit/ChangeLog | 6 ++++++ src/admin/edit/dump.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 src/admin/edit/ChangeLog diff --git a/src/admin/edit/ChangeLog b/src/admin/edit/ChangeLog new file mode 100644 index 000000000..2ba4efae9 --- /dev/null +++ b/src/admin/edit/ChangeLog @@ -0,0 +1,6 @@ +Thu Sep 15 11:00:30 1994 Theodore Y. Ts'o (tytso@dcl) + + * dump.c (load_db): Fix error string on failed fopen. ("for + writing" -> "for reading") + + diff --git a/src/admin/edit/dump.c b/src/admin/edit/dump.c index 66c571770..ad1780e06 100644 --- a/src/admin/edit/dump.c +++ b/src/admin/edit/dump.c @@ -236,7 +236,7 @@ void load_db(argc, argv) } if (!(f = fopen(argv[1], "r"))) { com_err(argv[0], errno, - "While opening file %s for writing", argv[1]); + "While opening file %s for reading", argv[1]); return; } fgets(buf, sizeof(buf), f); -- 2.26.2