Commit d0eb2d86 authored by Tom Rix's avatar Tom Rix Committed by Tyler Hicks
Browse files

eCryptfs: add a semicolon



Function like macros should have a semicolon.

Signed-off-by: default avatarTom Rix <trix@redhat.com>
[tyhicks: Remove the trailing semicolin from the macro's definition, as
          suggested by Joe Perches]
Signed-off-by: default avatarTyler Hicks <code@tyhicks.com>
parent bec4c296
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -528,7 +528,7 @@ ecryptfs_dentry_to_lower_path(struct dentry *dentry)
}

#define ecryptfs_printk(type, fmt, arg...) \
        __ecryptfs_printk(type "%s: " fmt, __func__, ## arg);
        __ecryptfs_printk(type "%s: " fmt, __func__, ## arg)
__printf(1, 2)
void __ecryptfs_printk(const char *fmt, ...);

+1 −1
Original line number Diff line number Diff line
@@ -1172,7 +1172,7 @@ decrypt_pki_encrypted_session_key(struct ecryptfs_auth_tok *auth_tok,
	rc = ecryptfs_cipher_code_to_string(crypt_stat->cipher, cipher_code);
	if (rc) {
		ecryptfs_printk(KERN_ERR, "Cipher code [%d] is invalid\n",
				cipher_code)
				cipher_code);
		goto out;
	}
	crypt_stat->flags |= ECRYPTFS_KEY_VALID;