wok-current rev 23798
linld: fix argstr (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 23 18:16:52 2020 +0000 (2020-05-23) |
parents | 56ee356284c6 |
children | 162ff9218137 |
files | linld/stuff/src/CRTLX.H linld/stuff/src/TAZBOOT.CPP |
line diff
1.1 --- a/linld/stuff/src/CRTLX.H Sat May 23 18:02:24 2020 +0000 1.2 +++ b/linld/stuff/src/CRTLX.H Sat May 23 18:16:52 2020 +0000 1.3 @@ -6,6 +6,6 @@ 1.4 //extern "C" char* strstr(const char* a,const char* b); 1.5 extern _fastcall int strstr(const char* a,const char* b); 1.6 extern _fastcall unsigned long kver2ul(char *kernel_version); 1.7 -//extern "C" char *ultoa(unsigned long n); 1.8 -extern _fastcall int ultoa(unsigned long n); 1.9 +//extern "C" char *utoa(unsigned n); 1.10 +extern _fastcall int utoa(unsigned n); 1.11 extern "C" void try_default_args();
2.1 --- a/linld/stuff/src/TAZBOOT.CPP Sat May 23 18:02:24 2020 +0000 2.2 +++ b/linld/stuff/src/TAZBOOT.CPP Sat May 23 18:16:52 2020 +0000 2.3 @@ -127,7 +127,7 @@ 2.4 strcatb(buf_cmdline,"mode="); 2.5 strcat(buf_cmdline,mode); 2.6 strcatb(buf_cmdline,"magic="); 2.7 - strcat(buf_cmdline,(char *)ultoa(magic)); 2.8 + strcat(buf_cmdline,(char *)utoa(magic)); 2.9 } 2.10 load_initrds(); 2.11 close(x->fd);