diff options
author | Dong Xu Wang <wdongxu@linux.vnet.ibm.com> | 2011-11-22 18:06:16 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2011-12-02 10:50:56 +0000 |
commit | bcb15d9c84a27f23a9b5c20b3c034a3f2fe9e2ac (patch) | |
tree | 21469cfde0d07fa4f933a27ebef47591b5580f71 /darwin-user/machload.c | |
parent | 7a4bbe8dab2c4e9f900e26172b6b6f831d3d5bb0 (diff) | |
download | hqemu-bcb15d9c84a27f23a9b5c20b3c034a3f2fe9e2ac.zip hqemu-bcb15d9c84a27f23a9b5c20b3c034a3f2fe9e2ac.tar.gz |
fix spelling in darwin-user sub directory
Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'darwin-user/machload.c')
-rw-r--r-- | darwin-user/machload.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/darwin-user/machload.c b/darwin-user/machload.c index 0aa8282..26dd293 100644 --- a/darwin-user/machload.c +++ b/darwin-user/machload.c @@ -460,7 +460,7 @@ int load_object(const char *filename, struct target_pt_regs * regs, void ** mh) int mach_hdr_pos = 0; struct mach_header mach_hdr; - /* for symbol lookup whith -d flag. */ + /* for symbol lookup with -d flag. */ struct symtab_command * symtabcmd = 0; struct nlist_extended *symtab, *sym; struct nlist *symtab_std, *syment; @@ -645,7 +645,7 @@ int load_object(const char *filename, struct target_pt_regs * regs, void ** mh) case LC_PREBIND_CKSUM: case LC_SUB_LIBRARY: break; - default: fprintf(stderr, "warning: unkown command 0x%x in '%s'\n", lc->cmd, filename); + default: fprintf(stderr, "warning: unknown command 0x%x in '%s'\n", lc->cmd, filename); } lc = (struct load_command*)((int)(lc)+(lc->cmdsize)); } @@ -809,7 +809,7 @@ unsigned long setup_arg_pages(void * mh, char ** argv, char ** env) page_set_flags((int)env[i], (int)(env[i]+strlen(env[i])), PROT_READ | PAGE_VALID); } - /* Add on the stack the interp_prefix choosen if so */ + /* Add on the stack the interp_prefix chosen if so */ if(interp_prefix[0]) { char *dyld_root; |