summaryrefslogtreecommitdiff
path: root/fs/ecryptfs/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ecryptfs/main.c')
-rw-r--r--fs/ecryptfs/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c
index 71a9c4c36707..d4f00bbbcdc5 100644
--- a/fs/ecryptfs/main.c
+++ b/fs/ecryptfs/main.c
@@ -796,8 +796,8 @@ static void do_sysfs_unregistration(void)
{
int rc;
- if ((rc = ecryptfs_destruct_crypto())) {
- printk(KERN_ERR "Failure whilst attempting to destruct crypto; "
+ if ((rc = ecryptfs_destroy_crypto())) {
+ printk(KERN_ERR "Failure whilst attempting to destroy crypto; "
"rc = [%d]\n", rc);
}
sysfs_remove_file(&ecryptfs_subsys.kobj,