<html><head><style>P {margin-top:2px;margin-bottom:2px;}</style></head><body><div style="font-size:10pt; font-family:Gulim,AppleGothic,sans-serif;"><P>Hi all,</P>
<P> </P>
<P>Line 384 to 395 in Disksim.c,  </P>
<P> </P>
<P>384   if (fscanf(parfile, "\nByte Order (Endian): %s\n", seed) != 1) {<BR>385      fprintf(stderr, "Error reading 'Byte Order:'\n");<BR>386      exit(0);<BR>387   }<BR>388   if (strcmp(seed, "Little") == 0) {<BR>389      disksim->endian = _LITTLE_ENDIAN;<BR>390   } else if (strcmp(seed, "Big") == 0) {<BR>391      disksim->endian = _BIG_ENDIAN;<BR>392   } else {<BR>393      fprintf(stderr, "Invalid byte ordering scheme - %s\n", seed);<BR>394      exit(0);<BR>395   }</P>
<P> </P>
<P>'Fscanf' scan a stored data at parfile. And then, it compare the string whether 'Little' or 'Big'.</P>
<P>Now, 'Little' is stored at 'parfile', but it happen error at line number of 385 . Error reading 'Byte Order:'.</P>
<P>I don't know why this error is happened.</P>
<P>I'll very appreciate of any advice.</P>
<P> </P>
<P>Best regards,</P>
<P>YG</P>
<P> </P>
<P> </P></div></body></html><!--navermail.footer.start-->

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="3" height="25"></td></tr>
<tr><td colspan="3" height="1" bgcolor="#ECECEC"></td></tr>
<tr><td colspan="3" height="12"></td></tr>
<tr><td align="right" style="padding-right:5px;"><a href="http://www.naver.com/" target="_blank" style="color:#4F4F30"><img src="http://static.naver.com/mail4/lg_happybeen_01.gif" width="53" height="24" alt="" style="border: none;"></a><a href="http://happybean.naver.com/main/SectionMain.nhn" target="_blank" style="color:#4F4F30"><img src="http://static.naver.com/mail4/lg_happybeen_02.gif" width="45" height="24" alt="" style="border: none;"></a></td></tr>
<tr><td colspan="3" height="14"></td></tr>
</table>

<!--navermail.footer.end-->
                                                                            
<table style='display:none'><tr><td><IMG SRC="http://mail.naver.com/newmailcheck/mwR4pBI0p6n/hARdb4e4po0oFo29K4kvp4UmK6KZKoI0KxCvF4kvKzu9poJCpvIGFou/KoEQar3GbrRq16dR+BF0bNFgp6F074FR+Ll0pHE=.gif" border=0></td></tr></table>