mirror of
https://github.com/FunKey-Project/fkgpiod.git
synced 2026-04-30 01:49:35 +02:00
add notice for SAVE
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user