forked from enlightenment/evisum
parent
43bd0baeb3
commit
ac0211c3ee
|
@ -170,7 +170,7 @@ File_System *
|
||||||
file_system_info_get(const char *path)
|
file_system_info_get(const char *path)
|
||||||
{
|
{
|
||||||
File_System *fs;
|
File_System *fs;
|
||||||
const char *mountpoint;
|
char *mountpoint;
|
||||||
struct statfs stats;
|
struct statfs stats;
|
||||||
|
|
||||||
mountpoint = disk_mount_point_get(path);
|
mountpoint = disk_mount_point_get(path);
|
||||||
|
@ -180,7 +180,7 @@ file_system_info_get(const char *path)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
fs = calloc(1, sizeof(File_System));
|
fs = calloc(1, sizeof(File_System));
|
||||||
fs->mount = strdup(mountpoint);
|
fs->mount = mountpoint;
|
||||||
fs->path = strdup(path);
|
fs->path = strdup(path);
|
||||||
|
|
||||||
#if defined(__OpenBSD__)
|
#if defined(__OpenBSD__)
|
||||||
|
|
Loading…
Reference in New Issue