Merge lp:~smcv/libgfshare/bug610233 into lp:~dsilvers/libgfshare/devel

Proposed by Simon McVittie
Status: Merged
Merged at revision: 49
Proposed branch: lp:~smcv/libgfshare/bug610233
Merge into: lp:~dsilvers/libgfshare/devel
Diff against target: 21 lines (+2/-2)
1 file modified
tools/gfsplit.c (+2/-2)
To merge this branch: bzr merge lp:~smcv/libgfshare/bug610233
Reviewer Review Type Date Requested Status
Daniel Silverstone Pending
Review via email: mp+30988@code.launchpad.net

Description of the change

See #610233

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'tools/gfsplit.c'
--- tools/gfsplit.c 2009-12-18 10:03:17 +0000
+++ tools/gfsplit.c 2010-07-26 20:59:45 +0000
@@ -191,7 +191,7 @@
191 sharecount = strtoul( optarg, &endptr, 10 );191 sharecount = strtoul( optarg, &endptr, 10 );
192 if( *endptr != 0 || *optarg == 0 || 192 if( *endptr != 0 || *optarg == 0 ||
193 sharecount < 2 || sharecount > 255 ) {193 sharecount < 2 || sharecount > 255 ) {
194 fprintf( stderr, "%s: Invalid argument to option -n\n", progname );194 fprintf( stderr, "%s: Invalid argument to option -m\n", progname );
195 usage( stderr );195 usage( stderr );
196 return 1;196 return 1;
197 }197 }
@@ -200,7 +200,7 @@
200 threshold = strtoul( optarg, &endptr, 10 );200 threshold = strtoul( optarg, &endptr, 10 );
201 if( *endptr != 0 || *optarg == 0 || 201 if( *endptr != 0 || *optarg == 0 ||
202 threshold < 2 || threshold > sharecount) {202 threshold < 2 || threshold > sharecount) {
203 fprintf( stderr, "%s: Invalid argument to option -t\n", progname );203 fprintf( stderr, "%s: Invalid argument to option -n\n", progname );
204 usage( stderr );204 usage( stderr );
205 return 1;205 return 1;
206 }206 }

Subscribers

People subscribed via source and target branches

to all changes: