Fixed location where usage() wasn't being called with an argument
authorTheodore Tso <tytso@mit.edu>
Sun, 15 Oct 1995 14:51:51 +0000 (14:51 +0000)
committerTheodore Tso <tytso@mit.edu>
Sun, 15 Oct 1995 14:51:51 +0000 (14:51 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6967 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/simple/client/ChangeLog
src/appl/simple/client/sim_client.c

index bf5f8d2e783e8511ae128bde273edf8b4429cb83..8f24529c2bf85eaa8b0d998af042a556f24cb5df 100644 (file)
@@ -1,3 +1,8 @@
+Sun Oct 15 10:49:35 1995    <tytso@rsts-11.mit.edu>
+
+       * 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  <tytso@dcl>
 
        * sim_client.c (main): Fix optional host parsing so that host is
index 6a5af011681694bc85076c435bc3ba31549b74ed..b0df5ca32c861ee5d595a8417b663881c913dc16 100644 (file)
@@ -129,7 +129,7 @@ main(argc, argv)
     argv += optind;
     if (argc > 0) {
        if (hostname)
-           usage();
+           usage(progname);
        hostname = argv[0];
     }