Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318410
b: refs/heads/master
c: cb454fe
h: refs/heads/master
v: v3
  • Loading branch information
Joe Millenbach authored and H. Peter Anvin committed Jul 21, 2012
1 parent d27b3c4 commit e16ddcc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e605a425975b073aafebbb2c09d3ae266be2fd3e
refs/heads/master: cb454fe10400566214ec690318a0167ff7f5b8ca
6 changes: 3 additions & 3 deletions trunk/arch/x86/boot/compressed/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ void *memcpy(void *dest, const void *src, size_t n)

static void error(char *x)
{
__putstr(1, "\n\n");
__putstr(1, x);
__putstr(1, "\n\n -- System halted");
error_putstr("\n\n");
error_putstr(x);
error_putstr("\n\n -- System halted");

while (1)
asm("hlt");
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/x86/boot/compressed/misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
extern struct boot_params *real_mode; /* Pointer to real-mode data */
void __putstr(int error, const char *s);
#define putstr(__x) __putstr(0, __x)
#define error_putstr(__x) __putstr(1, __x)
#define puts(__x) __putstr(0, __x)

/* cmdline.c */
Expand Down

0 comments on commit e16ddcc

Please sign in to comment.