mirror of
https://github.com/FunKey-Project/fkgpiod.git
synced 2025-12-12 16:08:51 +01:00
add notice for SAVE
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
parent
285c2faa2e
commit
921436805f
@ -359,6 +359,7 @@ bool save_mapping_list(const char *name, mapping_list_t *list)
|
|||||||
fp = stdout;
|
fp = stdout;
|
||||||
} else {
|
} else {
|
||||||
fp = fopen(name, "w");
|
fp = fopen(name, "w");
|
||||||
|
FK_NOTICE("SAVE file %s\n", name);
|
||||||
}
|
}
|
||||||
if (fp == NULL) {
|
if (fp == NULL) {
|
||||||
FK_ERROR("Cannot open save file \"%s\": %s\n", name, strerror(errno));
|
FK_ERROR("Cannot open save file \"%s\": %s\n", name, strerror(errno));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user