model: add variable arguments for bug messages
[model-checker.git] / model.h
diff --git a/model.h b/model.h
index 73272809873ca66b11de81916f75c288953e4826..8fdfc47ae41a8fc0419d04c1570075bdddb0243e 100644 (file)
--- a/model.h
+++ b/model.h
@@ -132,7 +132,7 @@ public:
        void check_promises(thread_id_t tid, ClockVector *old_cv, ClockVector *merge_cv);
        bool isfeasibleprefix() const;
 
-       bool assert_bug(const char *msg);
+       bool assert_bug(const char *msg, ...);
        void assert_user_bug(const char *msg);
 
        const model_params params;