c = ((char *)argp->repl.data)[i]; if (isprint(c) || c == 0xa) putchar(c);
ch = ((u_int8_t *)argp->repl.data)[i]; if (isprint(ch) || ch == 0xa) putchar(ch);
__bam_repl_print(notused1, dbtp, lsnp, notused3, notused4)	DB_LOG *notused1;	DBT *dbtp;	DB_LSN *lsnp;	int notused3;	void *notused4;{	__bam_repl_args *argp;	u_int32_t i;	int c, ret;	i = 0;	c = 0;	notused1 = NULL;	notused3 = 0;	notused4 = NULL;	if ((ret = __bam_repl_read(dbtp->data, &argp)) != 0)		return (ret);	printf("[%lu][%lu]bam_repl: rec: %lu txnid %lx prevlsn [%lu][%lu]\n",	    (u_long)lsnp->file,	    (u_long)lsnp->offset,	    (u_long)argp->type,	    (u_long)argp->txnid->txnid,	    (u_long)argp->prev_lsn.file,	    (u_long)argp->prev_lsn.offset);	printf("\tfileid: %lu\n", (u_long)argp->fileid);	printf("\tpgno: %lu\n", (u_long)argp->pgno);	printf("\tlsn: [%lu][%lu]\n",	    (u_long)argp->lsn.file, (u_long)argp->lsn.offset);	printf("\tindx: %lu\n", (u_long)argp->indx);	printf("\tisdeleted: %lu\n", (u_long)argp->isdeleted);	printf("\torig: ");	for (i = 0; i < argp->orig.size; i++) {		c = ((char *)argp->orig.data)[i];		if (isprint(c) || c == 0xa)			putchar(c);		else			printf("%#x ", c);	}	printf("\n");	printf("\trepl: ");	for (i = 0; i < argp->repl.size; i++) {		c = ((char *)argp->repl.data)[i];		if (isprint(c) || c == 0xa)			putchar(c);		else			printf("%#x ", c);	}	printf("\n");	printf("\tprefix: %lu\n", (u_long)argp->prefix);	printf("\tsuffix: %lu\n", (u_long)argp->suffix);	printf("\n");	__db_free(argp);	return (0);}