bug fix
This commit is contained in:
parent
5724ecd109
commit
6994f2a93a
|
@ -28,7 +28,7 @@ void TestFileSystem (){
|
||||||
ret = write(fd_t, w_buf, strlen(w_buf));
|
ret = write(fd_t, w_buf, strlen(w_buf));
|
||||||
if(ret < 0){
|
if(ret < 0){
|
||||||
printf("fd = %d write hello world failed.\n",fd_t);
|
printf("fd = %d write hello world failed.\n",fd_t);
|
||||||
return NULL;
|
return;
|
||||||
}
|
}
|
||||||
close(fd_t);
|
close(fd_t);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue