summaryrefslogtreecommitdiffstats
path: root/src/phrecn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-12-14 19:35:31 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2013-12-14 19:35:31 +0100
commit4113d0c38fdf6ea48b27440838813a2a9efb0ba3 (patch)
tree9f474d55203e3e9a11529d9d5a2b0967ae343a75 /src/phrecn.c
parent033525929f40306c20cfc2daecd0e46839f894ed (diff)
Fix typo in src/phrecn.c
Diffstat (limited to 'src/phrecn.c')
-rw-r--r--src/phrecn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/phrecn.c b/src/phrecn.c
index c141387..e9b0116 100644
--- a/src/phrecn.c
+++ b/src/phrecn.c
@@ -543,7 +543,7 @@ int photorec(struct ph_param *params, const struct ph_options *options, alloc_da
struct td_list_head *search_walker = NULL;
td_list_for_each(search_walker, &list_search_space->list)
{
- alloc_data_t *current_search_space;
+ const alloc_data_t *current_search_space;
current_search_space=td_list_entry(search_walker, alloc_data_t, list);
data_size += current_search_space->end - current_search_space->start + 1;
}
@@ -733,7 +733,7 @@ static void interface_file_select_ncurses(file_enable_t *files_enable)
if(enable_status==0)
wprintw(stdscr," for default selection, ");
else
- wprintw(stdscr," to disable all file famillies, ");
+ wprintw(stdscr," to disable all file families, ");
if(has_colors())
wbkgdset(stdscr,' ' | A_BOLD | COLOR_PAIR(0));
wprintw(stdscr,"b");