From 5d9b5635039c8fb0a577d32248e7089e64605a56 Mon Sep 17 00:00:00 2001 From: Alexander Boettcher Date: Mon, 14 Oct 2013 13:46:08 +0200 Subject: [PATCH] framebuffer: fix ambiguity for strncpy --- os/include/framebuffer_session/connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/include/framebuffer_session/connection.h b/os/include/framebuffer_session/connection.h index a312742115..cab80dfc35 100644 --- a/os/include/framebuffer_session/connection.h +++ b/os/include/framebuffer_session/connection.h @@ -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)