DASH Shell discussions
 help / color / mirror / Atom feed
From: Alexey Gladkov <gladkov.alexey@gmail.com>
To: dash@vger.kernel.org
Subject: [PATCH] Fix gcc 4.4 string literal problem
Date: Mon, 25 May 2009 14:51:36 +0400	[thread overview]
Message-ID: <4A1A7838.2030000@gmail.com> (raw)

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


                 reply	other threads:[~2009-05-25 10:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A1A7838.2030000@gmail.com \
    --to=gladkov.alexey@gmail.com \
    --cc=dash@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox