I can't stand octal.  We can remove it all once we start using ros/fs.h in
glibc.

Signed-off-by: Barret Rhoden <[email protected]>
---
 tests/stat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/stat.c b/tests/stat.c
index 84e3c8bea767..81abf06d5fa8 100644
--- a/tests/stat.c
+++ b/tests/stat.c
@@ -23,7 +23,7 @@ int main(int argc, char *argv[])
                printf("STAT RESULTS\n---------------------\n");
                printf("dev       : %d\n", st.st_dev);
                printf("ino       : %d\n", st.st_ino);
-               printf("mode      : %d\n", st.st_mode);
+               printf("mode      : %o(oct)\n", st.st_mode);
                printf("nlink     : %d\n", st.st_nlink);
                printf("uid       : %d\n", st.st_uid);
                printf("gid       : %d\n", st.st_gid);
-- 
2.8.0.rc3.226.g39d4020

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to