properly close with pclose.

Signed-off-by: maximilian attems <[email protected]>
---
 packages/partitioner/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/packages/partitioner/main.c b/packages/partitioner/main.c
index c19bcfb..e9e18a5 100644
--- a/packages/partitioner/main.c
+++ b/packages/partitioner/main.c
@@ -45,7 +45,7 @@ static int get_all_disks(PedDevice *discs[], int max_disks) {
                if ((dev = ped_device_get(buf)) && !dev->read_only)
                        discs[disk_count++] = dev;
        }
-       fclose(fp);
+       pclose(fp);
        return(disk_count);
 }
 
-- 
1.7.2.3


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to