ÀÌÇÔ¼ö ºÎºÐ¿¡¼ ¹ß»ýÇߴµ¥,
int print_notes(int fd, int uid, char 8searchstring){
int note_length;
char byte=0, note_buffer[100];
note_length=find_user_note(fd, uid);
if(note_length==-1)
return 0;
read(fd, note_buffer, note_length);
note_buffer[note_length]=0;
if(search_note(note_buffer, searchstring))
printf(note_buffer);
return 1;
}
ÀÔ´Ï´Ù.
return 1À§ÂÊ printf(note_buffer)¿¡¼ ¹ß»ýÇߴµ¥,
¿¡·¯ ³»¿ëÀº ´ÙÀ½°ú °°½À´Ï´Ù.
In function 'print_notes';
warning: format not a string literal and no format arguments ¶ó³×¿ä..
¾î¶»°Ô ÇØ°áÀ» ÇØ¾ßµÉÁö.. |