diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/opk.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -306,12 +306,15 @@ opkg_opk_opk_list_members(struct opkg_opk_opk *opk) mode[9] = '\0'; strftime(mtime, sizeof(mtime), "%Y-%m-%d %H:%M:%S", localtime(&member->mtime)); +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wformat-nonliteral" if (printf(fmt, member->type, mode, member->uname, member->gname, member->size, mtime, member->name) != (int) (len + strlen(member->name))) { ret = OPKG_OPK_ERROR; } +#pragma GCC diagnostic pop head = member; member = member->next; free(head); |