On Sun, Mar 09, 2014 at 03:30:14PM -0500, Sami Kerola wrote: > include/exitcodes.h | 5 +++++ > misc-utils/findfs.8 | 30 ++++++++++++++++++++++++++---- > misc-utils/findfs.c | 13 +++++++------ > 3 files changed, 38 insertions(+), 10 deletions(-) Applied, thanks. > --- a/include/exitcodes.h > +++ b/include/exitcodes.h > @@ -32,4 +32,9 @@ > #define MOUNT_EX_FAIL 32 /* mount failure */ > #define MOUNT_EX_SOMEOK 64 /* some mount succeeded */ > > +/* Exit codes used by findfs. */ > +#define FINDFS_SUCCESS 0 /* no errors */ > +#define FINDFS_NOT_FOUND 1 /* label or uuid cannot be found */ > +#define FINDFS_USAGE_ERROR 2 /* user did something unexpected */ I don't think it's necessary to have the codes in include/ as it is not shared between more utils. Fixed. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html