*/
continue;
}
- if (4!=sscanf(line,"%u%u%llu%100s",&major,&minor,&blocks,device+strlen("/dev/")))
- g_error(_("Error parsing line of \"%s\": %s"),FILENAME_PROC_PARTITIONS,line);
+ if (4!=sscanf(line,"%u%u%llu%100s",&major,&minor,&blocks,device+strlen("/dev/"))) {
+ g_warning(_("Error parsing line of \"%s\": %s"),FILENAME_PROC_PARTITIONS,line);
+ continue;
+ }
memcpy(device,"/dev/",strlen("/dev/"));
if (!(volume=ntfs_mount(device,MS_RDONLY))) {
if (msg_verbose)
g_warning(_("Error unmounting volume: %s"),device);
}
if (fclose(fpartitions))
- g_error(_("Cannot close \"%s\": %m"),FILENAME_PROC_PARTITIONS);
+ g_warning(_("Cannot close \"%s\": %m"),FILENAME_PROC_PARTITIONS);
return proc_partitions_ntfs_hash;
}