]> granicus.if.org Git - check/commitdiff
* add type to check_type error message
authorcpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 18 Feb 2009 22:46:18 +0000 (22:46 +0000)
committercpickett <cpickett@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Wed, 18 Feb 2009 22:46:18 +0000 (22:46 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@535 64e312b2-a51f-0410-8e61-82d0ca0eb02a

src/check_pack.c

index 2d12172777fd39bf0b4ed88269e75b9f1e4dff85..4fde5726be6a223eb3c22898f545148d115ae46d 100644 (file)
@@ -250,7 +250,7 @@ static void upack_fail (char **buf, FailMsg *fmsg)
 static void check_type (int type, const char *file, int line)
 {
   if (type < 0 || type >= CK_MSG_LAST)
-    eprintf ("Bad message type arg", file, line);
+    eprintf ("Bad message type arg %d", file, line, type);
 }
 
 #ifdef HAVE_PTHREAD