Use correct update log file name in messages
authorKen Raeburn <raeburn@mit.edu>
Mon, 17 Nov 2008 21:12:01 +0000 (21:12 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 17 Nov 2008 21:12:01 +0000 (21:12 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21130 dc483132-0cff-0310-8789-dd5450dbe970

src/slave/kproplog.c

index 58ce70ffefbabd676856551ff764380632e3ddec..f23a8e0509d269985204f56b911341185f36ba8d 100644 (file)
@@ -243,12 +243,12 @@ main(int argc, char **argv)
        exit(1);
     }
 
-    (void) printf(_("\nKerberos update log (%s.ulog)\n"),
-                 params.dbname);
+    (void) printf(_("\nKerberos update log (%s)\n"),
+                 params.iprop_logfile);
 
     if (ulog_map(context, params.iprop_logfile, 0, FKPROPLOG, db_args)) {
-       (void) fprintf(stderr, _("Unable to map log file "
-                                "%s.ulog\n\n"), params.dbname);
+       (void) fprintf(stderr, _("Unable to map log file %s\n\n"),
+                      params.iprop_logfile);
        exit(1);
     }
 
@@ -256,8 +256,8 @@ main(int argc, char **argv)
     if (log_ctx)
        ulog = log_ctx->ulog;
     else {
-       (void) fprintf(stderr, _("Unable to map log file "
-                                "%s.ulog\n\n"), params.dbname);
+       (void) fprintf(stderr, _("Unable to map log file %s\n\n"),
+                      params.iprop_logfile);
        exit(1);
     }