File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -753,7 +753,7 @@ int main(int argc, char *const argv[])
753753 exit (EXIT_FAILURE );
754754}
755755
756- void usage (FILE * stream , int errno )
756+ void usage (FILE * stream , int code )
757757{
758758 fprintf (stream , "Usage: mfoc [-h] [-k key] [-f file] ... [-P probnum] [-T tolerance] [-O output]\n" );
759759 fprintf (stream , "\n" );
@@ -776,7 +776,7 @@ void usage(FILE *stream, int errno)
776776 fprintf (stream , "\n" );
777777 fprintf (stream , "This is mfoc version %s.\n" , PACKAGE_VERSION );
778778 fprintf (stream , "For more information, run: 'man mfoc'.\n" );
779- exit (errno );
779+ exit (code );
780780}
781781
782782void mf_init (mfreader * r )
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ typedef struct {
8282} countKeys ;
8383
8484
85- void usage (FILE * stream , int errno );
85+ void usage (FILE * stream , int code );
8686void mf_init (mfreader * r );
8787void mf_configure (nfc_device * pdi );
8888void mf_select_tag (nfc_device * pdi , nfc_target * pnt );
You can’t perform that action at this time.
0 commit comments