Skip to content

Commit

Permalink
Merge pull request #3 from Remi-p/master
Browse files Browse the repository at this point in the history
Resizing blockDevPath[]
  • Loading branch information
BertoldVdb committed Aug 8, 2017
2 parents 6a2e19e + b6964dc commit 4165691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdcmd.c
Expand Up @@ -96,7 +96,7 @@ uint16_t sdFindRca(char* filename)
unsigned int controller;
DIR *dir, *dir2;
char devname[16];
char blockDevPath[256];
char blockDevPath[512];
struct dirent *entry;
int i;
for(i=strlen(filename)-1; (i>0) && filename[i-1]!='/'; i--);
Expand Down

0 comments on commit 4165691

Please sign in to comment.