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);