Incorrectly used str2sig() instead of sig2str().
authorPierre Ossman <ossman@cendio.se>
Fri, 28 Sep 2007 09:23:05 +0000 (09:23 +0000)
committerPierre Ossman <ossman@cendio.se>
Fri, 28 Sep 2007 09:23:05 +0000 (09:23 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1911 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/pulsecore/core-util.c

index 6db0870..3defe2b 100644 (file)
@@ -639,7 +639,7 @@ const char *pa_sig2str(int sig) {
     {
         char buf[SIG2STR_MAX];
 
-        if (str2sig(sig, buf) == 0) {
+        if (sig2str(sig, buf) == 0) {
             pa_xfree(PA_STATIC_TLS_GET(signame));
             t = pa_sprintf_malloc("SIG%s", buf);
             PA_STATIC_TLS_SET(signame, t);