Skip to content

Commit

Permalink
ls: minor formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Jan 8, 2025
1 parent a6ddbe9 commit ff91201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ls/ls.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ int statDump(char *name, char *path, struct stat *st) {
else if(st->st_size >= 1024)
sprintf(buffer+strlen(buffer), "%8ldK ", st->st_size / 1024);
else
sprintf(buffer+strlen(buffer), "%8ldB ", st->st_size);
sprintf(buffer+strlen(buffer), "%8ldB ", st->st_size);
} else {
// default sizes (bytes)
sprintf(buffer+strlen(buffer), "%9ld ", st->st_size);
Expand Down

0 comments on commit ff91201

Please sign in to comment.