Bug in sample application

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

 



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

Alexandre Sagala





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

  Powered by Linux