forked from pool/cryptsetup
27 lines
839 B
Diff
27 lines
839 B
Diff
From 32f038fe704a069444e5b71d6b195795b917016a Mon Sep 17 00:00:00 2001
|
|
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
|
Date: Thu, 29 Nov 2007 13:21:23 +0100
|
|
Subject: [PATCH] cryptsetup: logger function should return void
|
|
|
|
Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de>
|
|
---
|
|
lib/setup.c | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/lib/setup.c b/lib/setup.c
|
|
index 9e8c810..032d90e 100644
|
|
--- a/lib/setup.c
|
|
+++ b/lib/setup.c
|
|
@@ -26,7 +26,7 @@ static char *default_backend = NULL;
|
|
|
|
#define at_least_one(a) ({ __typeof__(a) __at_least_one=(a); (__at_least_one)?__at_least_one:1; })
|
|
|
|
-static int logger(struct crypt_options *options, int class, char *format, ...) {
|
|
+static void logger(struct crypt_options *options, int class, char *format, ...) {
|
|
va_list argp;
|
|
char *target;
|
|
|
|
--
|
|
1.5.3.4
|
|
|