Slightly improved diagnostics.
authorBen Laurie <ben@openssl.org>
Sat, 6 Feb 1999 18:09:13 +0000 (18:09 +0000)
committerBen Laurie <ben@openssl.org>
Sat, 6 Feb 1999 18:09:13 +0000 (18:09 +0000)
crypto/txt_db/txt_db.c

index dccb2b9..8dc01ea 100644 (file)
@@ -158,7 +158,7 @@ int num;
                if ((n != num) || (*f != '\0'))
                        {
 #if !defined(NO_STDIO) && !defined(WIN16)      /* temporaty fix :-( */
-                       fprintf(stderr,"wrong number of fields on line %ld\n",ln);
+                       fprintf(stderr,"wrong number of fields on line %ld (looking for field %d, got %d, '%s' left)\n",ln,num,n,f);
 #endif
                        er=2;
                        goto err;