1 $NetBSD: patch-ai,v 1.5 2012/10/07 14:19:18 mef Exp $
3 replace BSD/Linux specific "qd" printf format specifier by "lld",
4 should fix build problem on Solaris reported by Joern Clausen
7 --- base/mkromfs.c.orig 2009-02-13 12:20:54.000000000 +0100
11 fprintf(out,"\n#include \"stdint_.h\"\n");
12 fprintf(out,"\n#include \"time_.h\"\n\n");
13 - fprintf(out," time_t gs_romfs_buildtime = %ld;\n\n", time(NULL));
14 + fprintf(out," time_t gs_romfs_buildtime = %lld;\n\n", (long long)time(NULL));
16 /* process the remaining arguments (options interspersed with paths) */
17 for (; atarg < argc; atarg++) {