path: root/src/intrfn.h
diff options
authorChristophe Grenier <>2013-04-27 18:12:23 +0200
committerChristophe Grenier <>2013-04-27 18:12:23 +0200
commita3d8937a1918db7ac21968f0729c54f582eec711 (patch)
tree970b2079bc9ca1bcfbd73c2f8d412b51fcc40e92 /src/intrfn.h
parentb40eee6a327a9474d4986cf723f236a8b556a60d (diff)
Use the correct value of errno to display a warning when log file creation failed
Diffstat (limited to 'src/intrfn.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intrfn.h b/src/intrfn.h
index 52d9fe9..27f6c6f 100644
--- a/src/intrfn.h
+++ b/src/intrfn.h
@@ -63,7 +63,7 @@ int start_ncurses(const char *prog_name, const char *real_prog_name);
int end_ncurses(void);
int interface_partition_type_ncurses(disk_t *disk_car);
int vaff_txt(int line, WINDOW *window, const char *_format, va_list ap) __attribute__((format(printf, 3, 0)));
-char *ask_log_location(const char*filename);
+char *ask_log_location(const char*filename, const int errsv);
int get_string(WINDOW *window, char *str, const int len, const char *def);
uint64_t ask_int_ncurses(const char *string);
const char *ask_string_ncurses(const char *string);