--- tmpfs/tmpfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmpfs/tmpfs.c b/tmpfs/tmpfs.c index 5483ec87..195813c4 100644 --- a/tmpfs/tmpfs.c +++ b/tmpfs/tmpfs.c @@ -282,7 +282,7 @@ diskfs_append_args (char **argz, size_t *argz_len) #define S(n, c) if ((lim & ((1 << n) - 1)) == 0) sfx = c, lim >>= n S (30, 'G'); else S (20, 'M'); else S (10, 'K'); else sfx = '\0'; #undef S - snprintf (buf, sizeof buf, "%Ld%c", lim, sfx); + snprintf (buf, sizeof buf, "%" PRIi64 "%c", lim, sfx); err = argz_add (argz, argz_len, buf); } -- 2.40.1
- Re: [PATCH 01/41] libshouldbeinlibc: Port to x86_... Sergey Bugaev
- [PATCH 14/41] utils: Port to x86_64 Sergey Bugaev
- [PATCH 37/41] console-client: Port to x86_64 Sergey Bugaev
- [PATCH 13/41] libmachdev: Port to x86_64 Sergey Bugaev
- [PATCH 08/41] libdiskfs: Port to x86_64 Sergey Bugaev
- [PATCH 15/41] utils: Avoid warnings about prototype mismat... Sergey Bugaev
- [PATCH 34/41] ext2fs: Port to x86_64 Sergey Bugaev
- [PATCH 09/41] libstore: Port to x86_64 Sergey Bugaev
- [PATCH 33/41] fatfs: Port to x86_64 Sergey Bugaev
- [PATCH 02/41] libports: Port to x86_64 Sergey Bugaev
- [PATCH 32/41] tmpfs: Port to x86_64 Sergey Bugaev
- [PATCH 12/41] libps: Silence a warning Sergey Bugaev
- Re: [PATCH 12/41] libps: Silence a warning Samuel Thibault
- Re: [PATCH 12/41] libps: Silence a warning Jessica Clarke
- Re: [PATCH 12/41] libps: Silence a warning Samuel Thibault
- [PATCH 35/41] procfs: Port to x86_64 Sergey Bugaev
- [PATCH 41/41] Style tweaks Sergey Bugaev
- [PATCH 10/41] libpipe: Fix use-after-realloc Sergey Bugaev
- [PATCH 21/41] sutils: Port to x86_64 Sergey Bugaev
- [PATCH 26/41] boot: Fix use-after-realloc Sergey Bugaev
- [PATCH 29/41] pflocal: Port to x86_64 Sergey Bugaev