diff options
Diffstat (limited to 'misc/e2initrd_helper.c')
-rw-r--r-- | misc/e2initrd_helper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/e2initrd_helper.c b/misc/e2initrd_helper.c index 26001909..8b8a00c9 100644 --- a/misc/e2initrd_helper.c +++ b/misc/e2initrd_helper.c @@ -364,7 +364,7 @@ int main (int argc, char ** argv) ext2_filsys fs; io_manager io_ptr; - initialize_ext2_error_table(); + add_error_table(&et_ext2_error_table); blkid_get_cache(&cache, NULL); PRS(argc, argv); @@ -382,5 +382,6 @@ int main (int argc, char ** argv) if (root_type) get_root_type(fs); + remove_error_table(&et_ext2_error_table); return (ext2fs_close (fs) ? 1 : 0); } |