mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix double semicolons.
This commit is contained in:
parent
6371e33d71
commit
0a63d26bf7
2 changed files with 2 additions and 2 deletions
|
@ -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 )
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue