]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix Solaris compiler warning in signal.c
authorKern Sibbald <kern@sibbald.com>
Wed, 22 Jul 2009 15:01:16 +0000 (15:01 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 22 Jul 2009 15:01:16 +0000 (15:01 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@9083 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/lib/signal.c
bacula/technotes

index 16be3856e5ee9dbb15d8bfcaec5d0659119a1ecb..a8b39936edeafaa3784d8c23ba6819a0006d918c 100644 (file)
@@ -90,7 +90,7 @@ static void dbg_print_bacula()
    char buf[512];
 
    snprintf(buf, sizeof(buf), "%s/%s.%d.bactrace", 
-            working_directory, my_name, getpid());
+            working_directory, my_name, (int)getpid());
    FILE *fp = fopen(buf, "ab") ;
    if (!fp) {
       fp = stderr;
index 968b93efb6f4ae86943c296b89be85c81125d820..aef271e0bc1ccb04e79e01a29e17689edff00124 100644 (file)
@@ -2,6 +2,10 @@
           
 General:
 
+20Jul09
+kes  Fix Solaris compiler warning in signal.c
+
+Release version 3.0.2:
 18Jul09
 kes  Fix bat command line input bug
 17Jul09