summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/opk/read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opk/read.c b/src/opk/read.c
index 2d9f439..9a2a3a4 100644
--- a/src/opk/read.c
+++ b/src/opk/read.c
@@ -495,8 +495,8 @@ _opkg_opk_opk_read_data(struct opkg_opk_opk *opk)
mode[9] = '\0';
strftime(mtime, sizeof(mtime), "%Y-%m-%d %H:%M:%S",
localtime((const time_t *) &member->mtime));
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wformat-nonliteral"
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wformat-nonliteral"
if (member->type != 'b' && member->type != 'c') {
if (printf(fmt, member->type, mode,
member->uname, member->gname,
@@ -511,7 +511,7 @@ _opkg_opk_opk_read_data(struct opkg_opk_opk *opk)
ret = OPKG_OPK_ERROR;
}
}
-#pragma GCC diagnostic pop
+# pragma GCC diagnostic pop
/* Print name, ensuring it begins with "/". */
if (member->name[0] == '.' && member->name[1] == '/') {
if (fputs(member->name + 1, stdout) == EOF) {