|
|
| version 1.18, 2006/05/24 06:08:55 | version 1.19, 2007/02/01 19:02:45 |
|---|---|
| Line 609 ds_instantiate( int argc, char *argv[], | Line 609 ds_instantiate( int argc, char *argv[], |
| if ( ! optarg || optarg[ 0 ] == '-' ) { | if ( ! optarg || optarg[ 0 ] == '-' ) { |
| mlog( MLOG_NORMAL | MLOG_WARNING | MLOG_DRIVE, | mlog( MLOG_NORMAL | MLOG_WARNING | MLOG_DRIVE, |
| _("-%c argument missing\n"), | _("-%c argument missing\n"), |
| optopt ); | c ); |
| return BOOL_FALSE; | return BOOL_FALSE; |
| } | } |
| contextp->dc_ringlen = ( size_t )atoi( optarg ); | contextp->dc_ringlen = ( size_t )atoi( optarg ); |
| Line 619 ds_instantiate( int argc, char *argv[], | Line 619 ds_instantiate( int argc, char *argv[], |
| mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, | mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, |
| _("-%c argument must be " | _("-%c argument must be " |
| "between %u and %u: ignoring %u\n"), | "between %u and %u: ignoring %u\n"), |
| optopt, | c, |
| RINGLEN_MIN, | RINGLEN_MIN, |
| RINGLEN_MAX, | RINGLEN_MAX, |
| contextp->dc_ringlen ); | contextp->dc_ringlen ); |
| Line 642 ds_instantiate( int argc, char *argv[], | Line 642 ds_instantiate( int argc, char *argv[], |
| if ( ! optarg || optarg[ 0 ] == '-' ) { | if ( ! optarg || optarg[ 0 ] == '-' ) { |
| mlog( MLOG_NORMAL | MLOG_WARNING | MLOG_DRIVE, | mlog( MLOG_NORMAL | MLOG_WARNING | MLOG_DRIVE, |
| _("-%c argument missing\n"), | _("-%c argument missing\n"), |
| optopt ); | c ); |
| return -10; | return -10; |
| } | } |
| cmdlineblksize = ( u_int32_t )atoi( optarg ); | cmdlineblksize = ( u_int32_t )atoi( optarg ); |
| Line 655 ds_instantiate( int argc, char *argv[], | Line 655 ds_instantiate( int argc, char *argv[], |
| if ( ! optarg || optarg[ 0 ] == '-' ) { | if ( ! optarg || optarg[ 0 ] == '-' ) { |
| mlog( MLOG_NORMAL | MLOG_WARNING | MLOG_DRIVE, | mlog( MLOG_NORMAL | MLOG_WARNING | MLOG_DRIVE, |
| _("-%c argument missing\n"), | _("-%c argument missing\n"), |
| optopt ); | c ); |
| return BOOL_FALSE; | return BOOL_FALSE; |
| } | } |
| /* given in Mb */ | /* given in Mb */ |
| Line 664 ds_instantiate( int argc, char *argv[], | Line 664 ds_instantiate( int argc, char *argv[], |
| mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, | mlog( MLOG_NORMAL | MLOG_ERROR | MLOG_DRIVE, |
| _("-%c argument must be a " | _("-%c argument must be a " |
| "positive number (Mb): ignoring %u\n"), | "positive number (Mb): ignoring %u\n"), |
| optopt, | c, |
| contextp->dc_filesz ); | contextp->dc_filesz ); |
| return BOOL_FALSE; | return BOOL_FALSE; |
| } | } |