From 1ccd69266b2b71113d17de0d799e0de64aac2fb5 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Thu, 30 Nov 2017 17:22:42 +1100 Subject: fpart: make test run valgrind clean Signed-off-by: Stewart Smith --- fpart/src/main.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'fpart/src/main.h') diff --git a/fpart/src/main.h b/fpart/src/main.h index 35160c6..1662fa0 100644 --- a/fpart/src/main.h +++ b/fpart/src/main.h @@ -76,7 +76,7 @@ typedef enum { } flag_t; typedef struct { - const char *short_name; + char *short_name; /* target */ const char *path; @@ -85,11 +85,11 @@ typedef struct { cmd_t cmd; /* options */ - const char *name, *target; - const char *offset, *poffset; - const char *size, *block; - const char *user, *value; - const char *flags, *pad; + char *name, *target; + char *offset, *poffset; + char *size, *block; + char *user, *value; + char *flags, *pad; /* flags */ flag_t force, logical; -- cgit v1.2.1