Line 303:
Line 303:
char extdata_path[...]; // ".../extdata/<ExtdataID-High>/<ExtdataId-Low>"
char extdata_path[...]; // ".../extdata/<ExtdataID-High>/<ExtdataId-Low>"
char device_path[...]; // output path
char device_path[...]; // output path
−
sprintfdevice_path, "%s/%08x/%08x", extdata_path, SubDirID, SubFileID);
+
sprintf(device_path, "%s/%08x/%08x", extdata_path, SubDirID, SubFileID);
</pre>
</pre>
When mounting extdata, the unique identifier is used to match the ID stored in subfile's [[DISA and DIFF#DIFF header|DIFF header]]. If the ID doesn't match, mounting will fail.
When mounting extdata, the unique identifier is used to match the ID stored in subfile's [[DISA and DIFF#DIFF header|DIFF header]]. If the ID doesn't match, mounting will fail.