Fix double semicolons.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-03-07 13:33:35 +01:00
parent 6371e33d71
commit 0a63d26bf7
2 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ void render_editor(struct editor* editor, struct terminal_state* state)
if ( editor->mode == MODE_SAVE )
msg = "File Name to Write: ";
if ( editor->mode == MODE_LOAD )
msg = "File Name to Read: ";;
msg = "File Name to Read: ";
if ( editor->mode == MODE_ASK_QUIT )
msg = "Exit without saving changes? (Y/N): ";
if ( editor->mode == MODE_GOTO_LINE )

View File

@ -50,7 +50,7 @@ __attribute__((unused))
static __inline uint64_t wrmsr_instruction(uint32_t msrid, uint64_t value)
{
uint32_t low = value >> 0 & 0xFFFFFFFF;
uint32_t high = value >> 32 & 0xFFFFFFFF;;
uint32_t high = value >> 32 & 0xFFFFFFFF;
__asm__ __volatile__ ("wrmsr" : : "a"(low), "d"(high), "c"(msrid) : "memory");
return value;
}