]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
common/plugin: fix spacing in plugin load error message
authorKefu Chai <tchaikov@gmail.com>
Fri, 27 Jun 2025 03:12:28 +0000 (11:12 +0800)
committerKefu Chai <tchaikov@gmail.com>
Fri, 27 Jun 2025 03:30:06 +0000 (11:30 +0800)
Add missing space between function name and error message in plugin
loading logs for better readability.

Before:

```
load __erasure_code_init()did not register hangs
```

After:
```
load __erasure_code_init() did not register hangs
```

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/common/PluginRegistry.cc

index dd85d64fda0ec226ad0ca07b51cf1d239d8d0ec8..dba8e2edc0b1bdd5f07ae4cd5144ca80be27dc5e 100644 (file)
@@ -196,7 +196,7 @@ int PluginRegistry::load(const std::string &type,
   Plugin *plugin = get(type, name);
   if (plugin == 0) {
     lderr(cct) << __func__ << " " << fname << " "
-              << PLUGIN_INIT_FUNCTION << "()"
+              << PLUGIN_INIT_FUNCTION << "() "
               << "did not register plugin type " << type << " name " << name
               << dendl;
     dlclose(library);