summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/registry/reg_eventlog.c6
-rw-r--r--source3/utils/eventlogadm.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/registry/reg_eventlog.c b/source3/registry/reg_eventlog.c
index 61c73abd4b..d802b18aca 100644
--- a/source3/registry/reg_eventlog.c
+++ b/source3/registry/reg_eventlog.c
@@ -301,7 +301,7 @@ BOOL eventlog_add_source( const char *eventlog, const char *sourcename,
}
TALLOC_FREE( subkeys );
- /* at this point KEY_EVENTLOG/<eventlog>/<sourcename> key is in there. Now need to add EventLogMessageFile */
+ /* at this point KEY_EVENTLOG/<eventlog>/<sourcename> key is in there. Now need to add EventMessageFile */
/* now allocate room for the source's subkeys */
@@ -320,14 +320,14 @@ BOOL eventlog_add_source( const char *eventlog, const char *sourcename,
return False;
}
DEBUG( 5,
- ( "Storing EventLogMessageFile [%s] to eventlog path of [%s]\n",
+ ( "Storing EventMessageFile [%s] to eventlog path of [%s]\n",
messagefile, evtlogpath ) );
regdb_fetch_values( evtlogpath, values );
init_unistr2( &data, messagefile, UNI_STR_TERMINATE );
- regval_ctr_addvalue( values, "EventLogMessageFile", REG_EXPAND_SZ,
+ regval_ctr_addvalue( values, "EventMessageFile", REG_SZ,
( char * ) data.buffer,
data.uni_str_len * sizeof( uint16 ) );
regdb_store_values( evtlogpath, values );
diff --git a/source3/utils/eventlogadm.c b/source3/utils/eventlogadm.c
index e646833617..31e853b61f 100644
--- a/source3/utils/eventlogadm.c
+++ b/source3/utils/eventlogadm.c
@@ -61,7 +61,7 @@ int DoAddSourceCommand( int argc, char **argv, BOOL debugflag, char *exename )
if ( argc < 3 ) {
printf( "need more arguments:\n" );
- printf( "-o addsource EventlogName SourceName /path/to/eventlogmsg.dll\n" );
+ printf( "-o addsource EventlogName SourceName /path/to/EventMessageFile.dll\n" );
return -1;
}
/* must open the registry before we access it */