Skip to content

Commit 0ecc1b6

Browse files
authored
Update README.md
Fix wrong variable in example.
1 parent 28a1656 commit 0ecc1b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This example is making a dbus call to the `org.freedesktop.DBus` system service
2222
{ok, RemoteObject} = dbus_remote_service:get_object(Service, '/org/freedesktop/DBus'),
2323
{ok, Iface} = dbus_proxy:interface(RemoteObject, 'org.freedesktop.DBus'),
2424
{ok, Names} = dbus_proxy:call(Iface, 'ListNames', []),
25-
io:format("ListNames: ~p~n", [lists:sort(Reply1)]),
25+
io:format("ListNames: ~p~n", [lists:sort(Names)]),
2626
ok = dbus_remote_service:release_object(Service, RemoteObject),
2727
ok = dbus_bus:release_service(Bus, Service),
2828
```

0 commit comments

Comments
 (0)