forked from Lainports/freebsd-ports
- Fixes warning in spool.c [2] Reported by: QAT Submitted by: Patrice Clement <patricec _at_ acm.org> (IRC) [1], me [2] Approved by: rene@ (mentor vacation)
11 lines
342 B
C
11 lines
342 B
C
--- ./spool.c.orig 2010-08-10 17:48:35.000000000 +0200
|
|
+++ ./spool.c 2010-08-11 18:59:57.113889734 +0200
|
|
@@ -92,7 +92,7 @@
|
|
*/
|
|
if (fstat(fd, &st) != 0)
|
|
goto fail;
|
|
- if (asprintf(&queue->id, "%"PRIxMAX, st.st_ino) < 0)
|
|
+ if (asprintf(&queue->id, "%"PRIxMAX, (uintmax_t)st.st_ino) < 0)
|
|
goto fail;
|
|
|
|
queue->mailf = fdopen(fd, "r+");
|