diff options
author | Le Tan <tamlokveer@gmail.com> | 2014-05-10 07:55:22 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-05-26 10:41:22 +0400 |
commit | 1fba509527beb74bdcf50bc07ad3cd8244ad9c61 (patch) | |
tree | 44a3c3010044ff36c64a1e363866322a4eabbdb2 /bsd-user/elfload.c | |
parent | 69e995040c3dc31274c8fd2732391192272ec465 (diff) | |
download | hqemu-1fba509527beb74bdcf50bc07ad3cd8244ad9c61.zip hqemu-1fba509527beb74bdcf50bc07ad3cd8244ad9c61.tar.gz |
bsd-user: replace fprintf(stderr, ...) with error_report()
Replace fprintf(stderr,...) with error_report() in files bsd-user/*.
The trailing "\n"s of the @fmt argument have been removed
because @fmt of error_report() should not contain newline.
Signed-off-by: Le Tan <tamlokveer@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'bsd-user/elfload.c')
-rw-r--r-- | bsd-user/elfload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c index 93fd9e4..95652b1 100644 --- a/bsd-user/elfload.c +++ b/bsd-user/elfload.c @@ -628,7 +628,7 @@ static abi_ulong copy_elf_strings(int argc,char ** argv, void **page, while (argc-- > 0) { tmp = argv[argc]; if (!tmp) { - fprintf(stderr, "VFS: argc is wrong"); + error_report("VFS: argc is wrong"); exit(-1); } tmp1 = tmp; |