summaryrefslogtreecommitdiffstats
path: root/src/ext2grp.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-01-14 22:13:47 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-01-14 22:13:47 +0100
commit1650fe5b8b6cea638c280df13605aea816718a00 (patch)
treefed11bd9361236aba47157d859607c109db05814 /src/ext2grp.c
parent56e1c29b2c0614b0b3230946d72e1eaf37618bcc (diff)
Split ncurses text interface from functions
Diffstat (limited to 'src/ext2grp.c')
-rw-r--r--src/ext2grp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ext2grp.c b/src/ext2grp.c
index 5af5a22..61d421e 100644
--- a/src/ext2grp.c
+++ b/src/ext2grp.c
@@ -2,7 +2,7 @@
File: ext2grp.c
- Copyright (C) 2008 Christophe GRENIER <grenier@cgsecurity.org>
+ Copyright (C) 2008-2009 Christophe GRENIER <grenier@cgsecurity.org>
This software is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -40,6 +40,7 @@
#include "ext2.h"
#include "log.h"
#include "phrecn.h"
+#include "photorec.h"
unsigned int ext2_fix_group(alloc_data_t *list_search_space, disk_t *disk, partition_t *partition)
{
@@ -51,7 +52,6 @@ unsigned int ext2_fix_group(alloc_data_t *list_search_space, disk_t *disk, parti
partition->upart_type!=UP_EXT4)
{
log_error("Not a valid ext2/ext3/ext4 filesystem");
- display_message("Not a valid ext2/ext3/ext4 filesystem");
free_search_space(list_search_space);
return 0;
}
@@ -89,7 +89,6 @@ unsigned int ext2_fix_inode(alloc_data_t *list_search_space, disk_t *disk, parti
partition->upart_type!=UP_EXT4)
{
log_error("Not a valid ext2/ext3/ext4 filesystem");
- display_message("Not a valid ext2/ext3/ext4 filesystem");
free_search_space(list_search_space);
return 0;
}