From 05b41c5c27c5a3003ffa47c4c614ac0bb29d5c45 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Sun, 15 Oct 1995 14:51:51 +0000 Subject: [PATCH] Fixed location where usage() wasn't being called with an argument git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6967 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/simple/client/ChangeLog | 5 +++++ src/appl/simple/client/sim_client.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/appl/simple/client/ChangeLog b/src/appl/simple/client/ChangeLog index bf5f8d2e7..8f24529c2 100644 --- a/src/appl/simple/client/ChangeLog +++ b/src/appl/simple/client/ChangeLog @@ -1,3 +1,8 @@ +Sun Oct 15 10:49:35 1995 + + * sim_client.c (main): Fixed location where usage() wasn't being + called with an argument. + Sat Sep 16 03:45:59 1995 Theodore Y. Ts'o * sim_client.c (main): Fix optional host parsing so that host is diff --git a/src/appl/simple/client/sim_client.c b/src/appl/simple/client/sim_client.c index 6a5af0116..b0df5ca32 100644 --- a/src/appl/simple/client/sim_client.c +++ b/src/appl/simple/client/sim_client.c @@ -129,7 +129,7 @@ main(argc, argv) argv += optind; if (argc > 0) { if (hostname) - usage(); + usage(progname); hostname = argv[0]; } -- 2.26.2