libc.obj:

- Extra zero for use with gcc

git-svn-id: svn://kolibrios.org@9179 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-09-06 20:24:26 +00:00
parent 0c45d523d3
commit 9d2e5a6e3a

View File

@ -1319,9 +1319,11 @@ int _ksys_file_read_file(const char *name, unsigned long long offset, unsigned s
static inline static inline
int _ksys_file_create(const char* name){ int _ksys_file_create(const char* name){
ksys70_t k; ksys70_t k;
k.p00 = 2; k.p00 = 2;
k.p12 = 0; k.p04dw = 0;
k.p21 = name; k.p08dw = 0;
k.p12 = 0;
k.p21 = name;
return _ksys_work_files(&k); return _ksys_work_files(&k);
} }
@ -1354,10 +1356,13 @@ static inline
int _ksys_file_get_info(const char *name, ksys_bdfe_t *bdfe) int _ksys_file_get_info(const char *name, ksys_bdfe_t *bdfe)
{ {
ksys70_t k; ksys70_t k;
k.p00 = 5; k.p00 = 5;
k.bdfe = bdfe; k.p04dw = 0;
k.p20 = 0; k.p08dw = 0;
k.p21 = name; k.p12 = 0;
k.bdfe = bdfe;
k.p20 = 0;
k.p21 = name;
return _ksys_work_files(&k); return _ksys_work_files(&k);
} }