Searched refs:sysfs_name (Results 1 – 1 of 1) sorted by relevance
35 char *sysfs_name; in GetMtdSize() local36 if (asprintf(&sysfs_name, "/sys/class/mtd%s/size", mtd_device) == -1) { in GetMtdSize()39 FILE *fp = fopen(sysfs_name, "r"); in GetMtdSize()40 free(sysfs_name); in GetMtdSize()