Fix double semicolons.
This commit is contained in:
parent
6371e33d71
commit
0a63d26bf7
|
@ -261,7 +261,7 @@ void render_editor(struct editor* editor, struct terminal_state* state)
|
||||||
if ( editor->mode == MODE_SAVE )
|
if ( editor->mode == MODE_SAVE )
|
||||||
msg = "File Name to Write: ";
|
msg = "File Name to Write: ";
|
||||||
if ( editor->mode == MODE_LOAD )
|
if ( editor->mode == MODE_LOAD )
|
||||||
msg = "File Name to Read: ";;
|
msg = "File Name to Read: ";
|
||||||
if ( editor->mode == MODE_ASK_QUIT )
|
if ( editor->mode == MODE_ASK_QUIT )
|
||||||
msg = "Exit without saving changes? (Y/N): ";
|
msg = "Exit without saving changes? (Y/N): ";
|
||||||
if ( editor->mode == MODE_GOTO_LINE )
|
if ( editor->mode == MODE_GOTO_LINE )
|
||||||
|
|
|
@ -50,7 +50,7 @@ __attribute__((unused))
|
||||||
static __inline uint64_t wrmsr_instruction(uint32_t msrid, uint64_t value)
|
static __inline uint64_t wrmsr_instruction(uint32_t msrid, uint64_t value)
|
||||||
{
|
{
|
||||||
uint32_t low = value >> 0 & 0xFFFFFFFF;
|
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");
|
__asm__ __volatile__ ("wrmsr" : : "a"(low), "d"(high), "c"(msrid) : "memory");
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue