1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 05:35:07 +00:00

"stat" command should print st_mode in octal.

This commit is contained in:
Andreas Kling 2018-10-15 02:12:09 +02:00
parent 47fc6344ac
commit b0eaca436c

View file

@ -152,7 +152,7 @@ int main(int c, char** v)
}
printf("st_dev: %u\n", st.st_dev);
printf("st_ino: %u\n", st.st_ino);
printf("st_mode: %u\n", st.st_mode);
printf("st_mode: %o\n", st.st_mode);
printf("st_nlink: %u\n", st.st_nlink);
printf("st_uid: %u\n", st.st_uid);
printf("st_gid: %u\n", st.st_gid);