Message ID | 1321956386-12004-1-git-send-email-wdongxu@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show |
On Tue, Nov 22, 2011 at 06:06:16PM +0800, Dong Xu Wang wrote: > From: Dong Xu Wang <wdongxu@linux.vnet.ibm.com> > > > Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com> > --- > darwin-user/machload.c | 6 +++--- > darwin-user/main.c | 2 +- > darwin-user/syscall.c | 2 +- > 3 files changed, 5 insertions(+), 5 deletions(-) These fixes are mostly for comments, some user-visible strings. I have reviewed them and because they are really trivial am not waiting for all CCed people to reply. Thanks, applied all to the trivial patches -next tree: http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches-next Stefan
Am 22.11.2011 11:06, schrieb Dong Xu Wang: > From: Dong Xu Wang <wdongxu@linux.vnet.ibm.com> > > > Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com> Reviewed-by: Andreas Färber <afaerber@suse.de> > 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 > @@ -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; Don't really understand this comment either way... ;) Andreas
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; diff --git a/darwin-user/main.c b/darwin-user/main.c index c0f14f8..9b57c20 100644 --- a/darwin-user/main.c +++ b/darwin-user/main.c @@ -394,7 +394,7 @@ void cpu_loop(CPUPPCState *env) queue_signal(info.si_signo, &info); break; case POWERPC_EXCP_PIT: /* Programmable interval timer IRQ */ - cpu_abort(env, "Programable interval timer interrupt " + cpu_abort(env, "Programmable interval timer interrupt " "while in user mode. Aborting\n"); break; case POWERPC_EXCP_IO: /* IO error exception */ diff --git a/darwin-user/syscall.c b/darwin-user/syscall.c index f3cc1f8..8a16883 100644 --- a/darwin-user/syscall.c +++ b/darwin-user/syscall.c @@ -755,7 +755,7 @@ struct attrbuf_header { static inline void byteswap_attrbuf(struct attrbuf_header *attrbuf, struct attrlist *attrlist) { - DPRINTF("attrBuf.lenght %lx\n", attrbuf->length); + DPRINTF("attrBuf.length %lx\n", attrbuf->length); } static inline void byteswap_statfs(struct statfs *s)