diff options
author | Michael Adam <obnox@samba.org> | 2010-10-12 15:32:16 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2010-10-12 14:15:42 +0000 |
commit | cda2db5edfd5e0ca58083086594e58dfca7a40e7 (patch) | |
tree | e12549589552d8914977b3a047a08b8ee9a0e042 /source3/registry | |
parent | 5ad0ed21814e721cc36b72bf2ed13d9b37c4b7d2 (diff) | |
download | samba-cda2db5edfd5e0ca58083086594e58dfca7a40e7.tar.gz |
s3:registry: fix some trailing spaces in reg_backend_db
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Oct 12 14:15:42 UTC 2010 on sn-devel-104
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/reg_backend_db.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 2d7b97d7b8..43fe374505 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -104,7 +104,7 @@ static struct builtin_regkey_value builtin_registry_values[] = { { KEY_PRINTING_2K, "DefaultSpoolDirectory", REG_SZ, { "C:\\Windows\\System32\\Spool\\Printers" } }, { KEY_EVENTLOG, - "DisplayName", REG_SZ, { "Event Log" } }, + "DisplayName", REG_SZ, { "Event Log" } }, { KEY_EVENTLOG, "ErrorControl", REG_DWORD, { (char*)0x00000001 } }, { NULL, NULL, 0, { NULL } } @@ -516,7 +516,7 @@ WERROR regdb_init(void) state_path("registry.tdb"), strerror(errno) )); return werr; } - + DEBUG(10,("regdb_init: Successfully created registry tdb\n")); } @@ -580,14 +580,14 @@ WERROR regdb_open( void ) regdb_refcount++; return WERR_OK; } - + become_root(); regdb = db_open(NULL, state_path("registry.tdb"), 0, REG_TDB_FLAGS, O_RDWR, 0600); if ( !regdb ) { result = ntstatus_to_werror( map_nt_error_from_unix( errno ) ); - DEBUG(0,("regdb_open: Failed to open %s! (%s)\n", + DEBUG(0,("regdb_open: Failed to open %s! (%s)\n", state_path("registry.tdb"), strerror(errno) )); } @@ -1942,10 +1942,10 @@ bool regdb_values_need_update(struct regval_ctr *values) return (regdb_get_seqnum() != regval_ctr_get_seqnum(values)); } -/* +/* * Table of function pointers for default access */ - + struct registry_ops regdb_ops = { .fetch_subkeys = regdb_fetch_keys, .fetch_values = regdb_fetch_values, |