mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
demo: Avoid debug message in demo/src/lib/mini_c
The "strncpy - not implemented" message appeared on the use of libpng. Even though it did not cause trouble, spilling the log with such easy-to-fix issues should better be avoided.
This commit is contained in:
parent
134f54a602
commit
57b0c4dd52
@ -66,7 +66,7 @@ void *calloc(unsigned nmemb, unsigned size)
|
||||
void *memcpy(void *dest, const void *src, unsigned n);
|
||||
*/
|
||||
char *strcpy(char *dest, const char *src)
|
||||
{ printf("%s: not implemented\n", __func__); return 0; }
|
||||
{ return strncpy(dest, src, ~0); }
|
||||
char *strcat(char *dest, const char *src)
|
||||
{ printf("%s: not implemented\n", __func__); return 0; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user