Fixed spelling errors found by fossies.org with codespell
This commit is contained in:
@ -1533,18 +1533,18 @@ int Xorriso_option_status_history_max(struct XorrisO *xorriso, int num,
|
||||
|
||||
|
||||
/* Option -stdio_sync "on"|"off"|"end"|size */
|
||||
int Xorriso_option_stdio_sync(struct XorrisO *xorriso, char *rythm, int flag)
|
||||
int Xorriso_option_stdio_sync(struct XorrisO *xorriso, char *rhythm, int flag)
|
||||
{
|
||||
double num;
|
||||
|
||||
if(strcmp(rythm, "default") == 0 || strcmp(rythm, "on") == 0) {
|
||||
if(strcmp(rhythm, "default") == 0 || strcmp(rhythm, "on") == 0) {
|
||||
num= 0;
|
||||
} else if(strcmp(rythm, "off") == 0) {
|
||||
} else if(strcmp(rhythm, "off") == 0) {
|
||||
num= -1;
|
||||
} else if(strcmp(rythm, "end") == 0) {
|
||||
} else if(strcmp(rhythm, "end") == 0) {
|
||||
num= 1;
|
||||
} else {
|
||||
num = Scanf_io_size(rythm, 0) / 2048;
|
||||
num = Scanf_io_size(rhythm, 0) / 2048;
|
||||
if(num < 32 || num > 512 * 1024) {
|
||||
sprintf(xorriso->info_text,
|
||||
"-stdio_sync : Bad size. Use: 64k to 1g, \"on\", \"off\", \"end\"");
|
||||
|
Reference in New Issue
Block a user