Public bug reported:

The error is :

aufs/store_dir_aufs.c: In function `storeAufsDirUnlinkFile':
aufs/store_dir_aufs.c:1637: warning: passing arg 2 of `aioTruncate' makes 
integer from pointer without a cast
aufs/store_dir_aufs.c:1637: error: too few arguments to function `aioTruncate'
make[3]: *** [aufs/store_dir_aufs.o] Error 1

The patch is :

@@ -1634,7 +1625,7 @@
debug(79, 3) ("storeAufsDirUnlinkFile: unlinking fileno %08X\n", f);
/* storeAufsDirMapBitReset(SD, f); */
#if USE_TRUNCATE
-     aioTruncate(storeAufsDirFullPath(SD, f, NULL), NULL, NULL);
+    aioTruncate(storeAufsDirFullPath(SD, f, NULL), 0, NULL, NULL);
  #else
      aioUnlink(storeAufsDirFullPath(SD, f, NULL), NULL, NULL);
  #endif

Thanks for commiting it.

** Affects: squid (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
compilation error on feisty in aufs/store_dir_aufs.c
https://bugs.launchpad.net/bugs/105532
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to