diff options
Diffstat (limited to 'procfs')
-rw-r--r-- | procfs/rootdir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/procfs/rootdir.c b/procfs/rootdir.c index 951c071d..8e7c6595 100644 --- a/procfs/rootdir.c +++ b/procfs/rootdir.c @@ -557,7 +557,7 @@ rootdir_gc_swaps (void *hook, char **contents, ssize_t *contents_len) name = names; for (i = 0; i < nfree; i++) { - fprintf (m, "/dev/%s\tpartition\t%zu\t%zu\t-1\n", + fprintf (m, "%s\tpartition\t%zu\t%zu\t-1\n", name, size[i] >> 10, (size[i] - free[i]) >> 10); name = argz_next (names, names_len, name); } |