Why do I get the message "zsh: abort      ./testing" after the proper output when the input is "-rwx------  1 reid  staff    1734 Jun 22 14:52 prog"
#include <stdio.h>
#include <stdlib.h>

int main(){
	char directory;
	char permissions[9];
	char idk[31];
	char username[31];
	char groupname[31];
	int size;

	size = 0;

	scanf("%c %9s %31s %31s %31s %d", &directory, permissions, idk, username, groupname, &size);
	
	printf("%c %9s %d \n", directory, permissions, size);

	return 0;
}