~canonical-scott/grepmap/trunk

« back to all changes in this revision

Viewing changes to src/inputmap.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:
108
108
                fprintf (stderr, "%s: %s\n", program_name,
109
109
                         _("arguments must be in hexadecimal format"));
110
110
                suggest_help ();
111
 
                return 1;
 
111
                return 2;
112
112
        }
113
113
 
114
114
        ret = 1;