vmm: remove the leading '%' from the printc vmcall
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 24 May 2019 20:16:33 +0000 (16:16 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 24 May 2019 20:16:33 +0000 (16:16 -0400)
The latest Linux akaros-guest prints the timestamp.  The '%' is
unnecessary now.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/vmm/vmexit.c

index 922e23e..e3d5924 100644 (file)
@@ -186,8 +186,6 @@ static bool handle_vmcall_printc(struct guest_thread *gth)
 
        byte = vm_tf->tf_rdi;
        printf("%c", byte);
-       if (byte == '\n')
-               printf("%c", '%');
        fflush(stdout);
        return TRUE;
 }