aboutsummaryrefslogtreecommitdiffstats
path: root/main/slim/snprintf.patch
blob: f534ce3fad48ba8b4e06e2c830d1f2735fc91a4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/Ck.cpp b/Ck.cpp
index 3b94426..85cc022 100644
--- a/Ck.cpp
+++ b/Ck.cpp
@@ -91,7 +91,7 @@ namespace Ck {
 
 	vt = *((long *)return_value);
 
-	std::snprintf(device, 32, "/dev/tty%ld", vt);
+	snprintf(device, 32, "/dev/tty%ld", vt);
 
 	if(return_value)
 	  XFree(return_value);