diff options
| author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-12-19 12:43:36 -0500 |
|---|---|---|
| committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-01-13 16:25:51 -0500 |
| commit | 9c7b6e0668d91f8a8513ca11495e1e309d373535 (patch) | |
| tree | ecdff720bdc49e15b33446fcfa995077a21ab44b /readd.cpp | |
| parent | b9e2b07eeb324f3cc8cf037986e5a43a09464419 (diff) | |
| download | phosphor-hwmon-9c7b6e0668d91f8a8513ca11495e1e309d373535.tar.gz phosphor-hwmon-9c7b6e0668d91f8a8513ca11495e1e309d373535.zip | |
Grab DBus connection
Connect to DBus and own a busname.
Create a freedesktop ObjectManager.
Change-Id: I186dadc5a5172f44edf9cfc8d0a338677636de04
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'readd.cpp')
| -rw-r--r-- | readd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -43,6 +43,7 @@ int main(int argc, char** argv) options.reset(); MainLoop loop( + sdbusplus::bus::new_default(), path, BUSNAME_PREFIX, SENSOR_ROOT); |

