summaryrefslogtreecommitdiffstats
path: root/src/opk
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-05-12 14:43:29 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-05-12 15:03:20 (EDT)
commit2191f519c71bcd483776838fd03c0641ef061f83 (patch)
treea62c0d25f42dcd31cfec73820f4b4927ef94efa8 /src/opk
parent106be1935ec1c0382f54a2046d8ecf0b1eb82b46 (diff)
opk/read: Indent other pragmas
Diffstat (limited to 'src/opk')
-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) {