Re: Bug in sample application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexandre Sagala wrote:
> 
> I found a minor bug in the sample application supplied in the PAM Developer
> Manual
> 
> http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam_appl-8.html
> 
>     if(argc > 2) {
>         fprintf(stderr, "Usage: check_user [username]\n");
>         exit(1);
>     }
> 
> if suppose to be if(argc <2) and not >
> 
>  Is this the right place to post this?? If not sorry

No, I believe the example is correct on this point.

Cheers

Andrew





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux