DASH Shell discussions
 help / color / mirror / Atom feed
* [PATCH] Fix gcc 4.4 string literal problem
@ 2009-05-25 10:51 Alexey Gladkov
  0 siblings, 0 replies; only message in thread
From: Alexey Gladkov @ 2009-05-25 10:51 UTC (permalink / raw)
  To: dash

Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com> 
--- 
 src/jobs.c |    2 +- 
 1 files changed, 1 insertions(+), 1 deletions(-) 
 
diff --git a/src/jobs.c b/src/jobs.c 
index b1ab7ab..305189e 100644 
--- a/src/jobs.c 
+++ b/src/jobs.c 
@@ -427,7 +427,7 @@ sprint_status(char *s, int status, int sigonly) 
                                goto out; 
 #endif 
                } 
-               col = fmtstr(s, 32, strsignal(st)); 
+               col = fmtstr(s, 32, "%s", strsignal(st)); 
                if (WCOREDUMP(status)) { 
                        col += fmtstr(s + col, 16, " (core dumped)"); 
                } 
--  
1.6.3.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-25 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-25 10:51 [PATCH] Fix gcc 4.4 string literal problem Alexey Gladkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox