Permalink
Browse files

Merge pull request #3 from Remi-p/master

Resizing blockDevPath[]
  • Loading branch information...
BertoldVdb committed Aug 8, 2017
2 parents 6a2e19e + b6964dc commit 4165691484cd7dc6a244f8db3a44eb792742a9c9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/sdcmd.c
View
@@ -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--);

0 comments on commit 4165691

Please sign in to comment.