eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit e9c39decda5195f45f44e9bb82308dd0c843b999
parent ad7412efb21e27b120dcb9d5012be9dacd6309c4
Author: Marcel Holtmann <marcel@holtmann.org>
Date:   Sun,  8 Sep 2019 20:10:56 +0200

storage: Fix wrong format identifier for known frequencies file

Diffstat:
Msrc/storage.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/storage.c b/src/storage.c @@ -396,7 +396,7 @@ struct l_settings *storage_known_frequencies_load(void) known_freqs = l_settings_new(); - known_freq_file_path = storage_get_path("/%", KNOWN_FREQ_FILENAME); + known_freq_file_path = storage_get_path("/%s", KNOWN_FREQ_FILENAME); if (!l_settings_load_from_file(known_freqs, known_freq_file_path)) { l_settings_free(known_freqs); @@ -417,7 +417,7 @@ void storage_known_frequencies_sync(struct l_settings *known_freqs) if (!known_freqs) return; - known_freq_file_path = storage_get_path("/%", KNOWN_FREQ_FILENAME); + known_freq_file_path = storage_get_path("/%s", KNOWN_FREQ_FILENAME); data = l_settings_to_data(known_freqs, &len); write_file(data, len, "%s", known_freq_file_path);