X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Faidepost.c;h=3591ff8962fbd33c107050afafbbf27fc96f2c28;hb=11b790da92082ff80b9060e0b1dc6678718601c8;hp=56f5781347f8106510a7af5ff4fb014dd3e4a4ed;hpb=08222b1ea6ab45c5b3dd7f1643f231f1e61f2cdc;p=citadel.git diff --git a/citadel/aidepost.c b/citadel/aidepost.c index 56f578134..3591ff896 100644 --- a/citadel/aidepost.c +++ b/citadel/aidepost.c @@ -98,8 +98,8 @@ int main(int argc, char **argv) } snprintf(tempspool, sizeof tempspool, - "./network/spoolin/ap.%04x", - getpid()); + "./network/spoolin/ap.%04lx", + (long)getpid()); unlink(tempspool);