framebuffer: fix ambiguity for strncpy

This commit is contained in:
Alexander Boettcher 2013-10-14 13:46:08 +02:00 committed by Christian Helmuth
parent 75366c66a4
commit 5d9b563503

View File

@ -37,7 +37,7 @@ namespace Framebuffer {
char argbuf[ARGBUF_SIZE];
/* donate ram quota for storing server-side meta data */
strncpy(argbuf, "ram_quota=8K", sizeof(argbuf));
Genode::strncpy(argbuf, "ram_quota=8K", sizeof(argbuf));
/* set optional session-constructor arguments */
if (width)