Diff for /xfs-cmds/xfsdump/dump/content.c between versions 1.43 and 1.44

version 1.43, 2006/10/02 18:10:30 version 1.44, 2007/02/01 19:02:45
Line 599  content_init( intgen_t argc, Line 599  content_init( intgen_t argc,
                         if ( ! optarg || optarg[ 0 ] == '-' ) {                          if ( ! optarg || optarg[ 0 ] == '-' ) {
                                 mlog( MLOG_NORMAL | MLOG_ERROR, _(                                  mlog( MLOG_NORMAL | MLOG_ERROR, _(
                                       "-%c argument missing\n"),                                        "-%c argument missing\n"),
                                       optopt );                                        c );
                                 usage( );                                  usage( );
                                 return BOOL_FALSE;                                  return BOOL_FALSE;
                         }                          }
Line 608  content_init( intgen_t argc, Line 608  content_init( intgen_t argc,
                                 mlog( MLOG_NORMAL | MLOG_ERROR, _(                                  mlog( MLOG_NORMAL | MLOG_ERROR, _(
                                       "-%c argument must be "                                        "-%c argument must be "
                                       "between 0 and %d\n"),                                        "between 0 and %d\n"),
                                       optopt,                                        c,
                                       LEVEL_MAX );                                        LEVEL_MAX );
                                 usage( );                                  usage( );
                                 return BOOL_FALSE;                                  return BOOL_FALSE;
Line 618  content_init( intgen_t argc, Line 618  content_init( intgen_t argc,
                         if ( ! optarg || optarg[ 0 ] == '-' ) {                          if ( ! optarg || optarg[ 0 ] == '-' ) {
                                 mlog( MLOG_NORMAL | MLOG_ERROR, _(                                  mlog( MLOG_NORMAL | MLOG_ERROR, _(
                                       "-%c argument missing\n"),                                        "-%c argument missing\n"),
                                       optopt );                                        c );
                                 usage( );                                  usage( );
                                 return BOOL_FALSE;                                  return BOOL_FALSE;
                         }                          }
Line 626  content_init( intgen_t argc, Line 626  content_init( intgen_t argc,
                                 mlog( MLOG_NORMAL | MLOG_ERROR, _(                                  mlog( MLOG_NORMAL | MLOG_ERROR, _(
                                       "-%c argument (subtree) "                                        "-%c argument (subtree) "
                                       "must be a relative pathname\n"),                                        "must be a relative pathname\n"),
                                       optopt );                                        c );
                                 usage( );                                  usage( );
                                 return BOOL_FALSE;                                  return BOOL_FALSE;
                         }                          }
Line 636  content_init( intgen_t argc, Line 636  content_init( intgen_t argc,
                         if ( ! optarg || optarg [ 0 ] == '-' ) {                          if ( ! optarg || optarg [ 0 ] == '-' ) {
                                 mlog( MLOG_NORMAL | MLOG_ERROR, _(                                  mlog( MLOG_NORMAL | MLOG_ERROR, _(
                                       "-%c argument missing\n"),                                        "-%c argument missing\n"),
                                       optopt );                                        c );
                                 usage( );                                  usage( );
                                 return BOOL_FALSE;                                  return BOOL_FALSE;
                         }                          }
Line 646  content_init( intgen_t argc, Line 646  content_init( intgen_t argc,
                              ( maxdumpfilesize == ULONGLONG_MAX && errno == ERANGE ) ) {                               ( maxdumpfilesize == ULONGLONG_MAX && errno == ERANGE ) ) {
                                 mlog( MLOG_NORMAL | MLOG_ERROR, _(                                  mlog( MLOG_NORMAL | MLOG_ERROR, _(
                                       "-%c argument is not a valid file size\n"),                                        "-%c argument is not a valid file size\n"),
                                       optopt );                                        c );
                                 usage( );                                  usage( );
                                 return BOOL_FALSE;                                  return BOOL_FALSE;
                         }                          }
Line 668  content_init( intgen_t argc, Line 668  content_init( intgen_t argc,
                         if ( ! optarg || optarg[ 0 ] == '-' ) {                          if ( ! optarg || optarg[ 0 ] == '-' ) {
                                 mlog( MLOG_NORMAL | MLOG_ERROR, _(                                  mlog( MLOG_NORMAL | MLOG_ERROR, _(
                                         "-%c argument missing\n"),                                          "-%c argument missing\n"),
                                     optopt );                                      c );
                                 usage( );                                  usage( );
                                 return BOOL_FALSE;                                  return BOOL_FALSE;
                         }                          }
Line 685  content_init( intgen_t argc, Line 685  content_init( intgen_t argc,
                         if ( ! optarg || optarg[ 0 ] == '-' ) {                          if ( ! optarg || optarg[ 0 ] == '-' ) {
                                 mlog( MLOG_NORMAL | MLOG_ERROR, _(                                  mlog( MLOG_NORMAL | MLOG_ERROR, _(
                                       "-%c argument missing\n"),                                        "-%c argument missing\n"),
                                       optopt );                                        c );
                                 usage( );                                  usage( );
                                 return BOOL_FALSE;                                  return BOOL_FALSE;
                         }                          }
Line 695  content_init( intgen_t argc, Line 695  content_init( intgen_t argc,
                                 mlog( MLOG_NORMAL | MLOG_ERROR, _(                                  mlog( MLOG_NORMAL | MLOG_ERROR, _(
                                       "-%c argument not a valid "                                        "-%c argument not a valid "
                                       "dump session id\n"),                                        "dump session id\n"),
                                       optopt );                                        c );
                                 usage( );                                  usage( );
                                 return BOOL_FALSE;                                  return BOOL_FALSE;
                         }                          }
Line 1663  baseuuidbypass: Line 1663  baseuuidbypass:
                                         mlog( MLOG_NORMAL, _(                                          mlog( MLOG_NORMAL, _(
                                               "more -%c arguments "                                                "more -%c arguments "
                                               "than number of drives\n"),                                                "than number of drives\n"),
                                               optopt );                                                c );
                                         usage( );                                          usage( );
                                         return BOOL_FALSE;                                          return BOOL_FALSE;
                                 }                                  }
                                 if ( ! optarg || optarg[ 0 ] == '-' ) {                                  if ( ! optarg || optarg[ 0 ] == '-' ) {
                                         mlog( MLOG_NORMAL, _(                                          mlog( MLOG_NORMAL, _(
                                               "-%c argument missing\n"),                                                "-%c argument missing\n"),
                                               optopt );                                                c );
                                         usage( );                                          usage( );
                                         return BOOL_FALSE;                                          return BOOL_FALSE;
                                 }                                  }

Removed from v.1.43  
changed lines
  Added in v.1.44


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>