Permalink
Browse files

Resizing blockDevPath[]

  • Loading branch information...
Remi-p committed Aug 4, 2017
1 parent 6a2e19e commit b6964dcd6f8dd8ecb01f7a31990fa3478bd27a35
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 b6964dc

Please sign in to comment.