aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-04-27 11:52:47 +0200
committerJavier <dev.git@javispedro.com>2022-04-27 11:52:47 +0200
commit66955fce6cc5b39cf3007d20dcc816a3607edd74 (patch)
tree597e94e011156f26bef184113e0af295d622a3b7
parent6faf797ee40f494e385d1d99ef2da55740326ce0 (diff)
downloadvbados-66955fce6cc5b39cf3007d20dcc816a3607edd74.tar.gz
vbados-66955fce6cc5b39cf3007d20dcc816a3607edd74.zip
make getattr return file_not_found instead of path_not_found
borlandC seems to depend on this
-rw-r--r--sftsr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sftsr.c b/sftsr.c
index 8555ac3..2b42e45 100644
--- a/sftsr.c
+++ b/sftsr.c
@@ -799,7 +799,7 @@ static void handle_getattr(union INTPACK __far *r)
set_dos_err(r, DOS_ERROR_PATH_NOT_FOUND);
return;
case SHFL_FILE_NOT_FOUND:
- set_dos_err(r, DOS_ERROR_PATH_NOT_FOUND);
+ set_dos_err(r, DOS_ERROR_FILE_NOT_FOUND);
return;
default:
break;