]> arthur.barton.de Git - netatalk.git/commitdiff
show_usage was called with a NULL name
authorFrank Lahm <franklahm@googlemail.com>
Tue, 10 Apr 2012 10:54:03 +0000 (12:54 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Tue, 10 Apr 2012 10:54:03 +0000 (12:54 +0200)
etc/afpd/afp_options.c

index 673e0bacb8baf11442a363be118f6befc0c040f9..d314a037461178e774e0df532ccdb4f3412d1f4d 100644 (file)
@@ -792,7 +792,7 @@ int afp_options_parse(int ac, char **av, struct afp_options *options)
             exit( 0 );
             break;
         case 'h':      /* usage */
-            show_usage( p );
+            show_usage("afpd");
             exit( 0 );
             break;
         case 'I':