]> code.citadel.org Git - citadel.git/commitdiff
Fixed a minor printf long/int mismatch
authorArt Cancro <ajc@citadel.org>
Sat, 3 Mar 2007 04:21:26 +0000 (04:21 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 3 Mar 2007 04:21:26 +0000 (04:21 +0000)
webcit/webserver.c

index ff6f9c70756664e77e8e48d0c865ed19cd605000..78ee06f3153c58a9c6c385b2f95630e36e8fb28c 100644 (file)
@@ -519,7 +519,7 @@ void start_daemon(char *pid_file)
                        if (pid_file) {
                                fp = fopen(pid_file, "w");
                                if (fp != NULL) {
-                                       fprintf(fp, "%ld\n", current_child);
+                                       fprintf(fp, "%d\n", current_child);
                                        fclose(fp);
                                }
                        }