From 13922ddd8db521a59ba79ef07658df1940b64946 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 23 Jun 2008 22:33:30 +0000 Subject: [PATCH] Added hint to run RegisterDeviceDriver(). --- src/dbStatic/dbStaticRun.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dbStatic/dbStaticRun.c b/src/dbStatic/dbStaticRun.c index f69b9e322..4d951876e 100644 --- a/src/dbStatic/dbStaticRun.c +++ b/src/dbStatic/dbStaticRun.c @@ -163,6 +163,7 @@ long dbAllocRecord(DBENTRY *pdbentry,const char *precordName) precnode->precord = dbCalloc(1,pdbRecordType->rec_size); precord = (char *)precnode->precord; if(pdbRecordType->rec_size == 0) { + printf("\t*** Did you run x_RegisterDeviceDriver(pdbbase) yet? ***\n"); epicsPrintf("dbAllocRecord(%s) record_size =0\n", pdbRecordType->name); return(S_dbLib_noRecSup);