]> git.ipfire.org Git - pakfire.git/commitdiff
tests: Fix string formatting in command.c
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 9 Oct 2024 16:15:53 +0000 (16:15 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 9 Oct 2024 17:35:38 +0000 (17:35 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tests/stub/command.c

index ca69671d2a2bde71a7c87e0540c91101963d9fa5..3656ce391d92aad87deacd8863f741f5962a96c9 100644 (file)
@@ -337,7 +337,7 @@ static int stat_ownership(int argc, char* argv[]) {
                return r;
 
        // Print result
-       printf("uid=%d gid=%d\n", st.st_uid, st.st_gid);
+       printf("uid=%u gid=%u\n", st.st_uid, st.st_gid);
 
        return 0;
 }