Commit 692f6ed2 authored by Arie Peterson's avatar Arie Peterson 🐚
Browse files

Fix indentation

parent 7e905845
......@@ -16,7 +16,7 @@ int callback_encryption_selfdestruct_post(const struct _u_request * request,
// Overwrite start of data partition with zeroes.
y_log_message(Y_LOG_LEVEL_DEBUG,
"Overwriting start of data partition with zeroes");
"Overwriting start of data partition with zeroes");
char * command = NULL;
asprintf(&command, "head -c %d /dev/zero > %s; sync",
LUKS_HEADER_SIZE, DATA_PARTITION_DEVICE);
......@@ -30,16 +30,16 @@ int callback_encryption_selfdestruct_post(const struct _u_request * request,
"overwriting data device failed");
}
y_log_message(Y_LOG_LEVEL_DEBUG,
"Overwriting finished succesfully");
"Overwriting finished succesfully");
// Record that we want to reboot the machine.
*reboot = true;
y_log_message(Y_LOG_LEVEL_DEBUG,
"Will reboot");
"Will reboot");
r = send_simple_response(response, 200, "status", "ok");
y_log_message(Y_LOG_LEVEL_DEBUG,
"Response sent");
"Response sent");
stop_server();
return r;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment