summaryrefslogtreecommitdiff
path: root/portato/ipc.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'portato/ipc.pyx')
-rw-r--r--portato/ipc.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/ipc.pyx b/portato/ipc.pyx
index 1f8603d..13743bc 100644
--- a/portato/ipc.pyx
+++ b/portato/ipc.pyx
@@ -106,7 +106,7 @@ cdef class MessageQueue (object):
raise ValueError("type must be > 0")
if size >= MAX_MESSAGE_SIZE:
- raise ValueError("Message must be smaller than %d", MAX_MESSAGE_SIZE)
+ raise ValueError("Message must be smaller than %d" % MAX_MESSAGE_SIZE)
msg = <msg_data*>PyMem_Malloc(sizeof(msg_data) + size)