We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31258fc commit abc8c7fCopy full SHA for abc8c7f
.github/workflows/main.yaml
@@ -22,7 +22,7 @@ jobs:
22
uses: actions/checkout@v4
23
- name: coding convention
24
run: |
25
- sudo apt-get install -q -y clang-format-12
+ sudo apt-get install -q -y clang-format
26
.ci/check-newline.sh
27
.ci/check-format.sh
28
shell: bash
mkfs.c
@@ -26,7 +26,7 @@ _Static_assert(sizeof(struct superblock) == SIMPLEFS_BLOCK_SIZE);
*
* Return the result of n / d, rounded up to the nearest integer.
*/
29
-#define DIV_ROUND_UP(n, d) (((n) + (d) -1) / (d))
+#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
30
31
static struct superblock *write_superblock(int fd, struct stat *fstats)
32
{
0 commit comments