Reacted on harmless compiler warning

This commit is contained in:
Thomas Schmitt 2008-06-17 13:38:44 +00:00
parent ffdbe92230
commit 020e084b66
2 changed files with 5 additions and 2 deletions

View File

@ -10392,7 +10392,10 @@ int Xorriso_option_map_l(struct XorrisO *xorriso, int argc, char **argv,
if(source_prefix[0]) { if(source_prefix[0]) {
if(strncmp(source_prefix, eff_source, strlen(source_prefix))!=0) { if(strncmp(source_prefix, eff_source, strlen(source_prefix))!=0) {
sprintf(xorriso->info_text, sprintf(xorriso->info_text,
"%s: disk_path does not begin with disk_prefix", cmd); "%s: disk_path %s does not begin with disk_prefix ", cmd,
Text_shellsafe(eff_source, sfe, 0));
Text_shellsafe(source_prefix,
xorriso->info_text+strlen(xorriso->info_text), 0);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 1); Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 1);
ret= 0; goto ex; ret= 0; goto ex;
} }

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.06.17.121524" #define Xorriso_timestamP "2008.06.17.133914"