- /*printf("path %s\n",path); */
- handle=yaffs_mount("/nonexisting_mount_point/");
- if (handle==-1){
- error_code=yaffs_get_error();
- //printf("EISDIR def %d, Error code %d\n", ENOTDIR,error_code);
- if (abs(error_code)==ENODEV){
+
+ output = yaffs_mount("/nonexisting_mount_point/");
+ if (output<0){
+ error_code = yaffs_get_error();
+ if (abs(error_code) == ENODEV){