~canonical-scott/grepmap/trunk

« back to all changes in this revision

Viewing changes to src/ieee1394map.c

  • Committer: Scott James Remnant
  • Date: 2005-09-29 03:32:13 UTC
  • Revision ID: scott@netsplit.com-20050929033213-79c27d88cb6c53b7
* src/grepmap.c (main): Return 2 in case of error.
* src/ieee1394map.c (ieee1394map_modules): Return 2 if arguments
weren't in the right format.
* src/inputmap.c (inputmap_modules): Return 2 also.
* src/pcimap.c (pcimap_modules): Also return 2.
* src/usbmap.c (usbmap_modules): And here 2 ;-)

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
                fprintf (stderr, "%s: %s\n", program_name,
74
74
                         _("arguments must be in hexadecimal format"));
75
75
                suggest_help ();
76
 
                return 1;
 
76
                return 2;
77
77
        }
78
78
 
79
79
        ret = 1;