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

Re: Bug in sample application



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





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