aboutsummaryrefslogtreecommitdiff
path: root/src/mountinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mountinfo.c')
-rw-r--r--src/mountinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mountinfo.c b/src/mountinfo.c
index be31012a..25e83ca5 100644
--- a/src/mountinfo.c
+++ b/src/mountinfo.c
@@ -173,7 +173,7 @@ static char **find_mounts (struct args *args)
for (o = optnames; flags && o->o_opt; o++) {
if (flags & o->o_opt) {
if (! options)
- options = rc_xstrdup (o->o_name);
+ options = strdup (o->o_name);
else {
char *tmp = NULL;
asprintf (&tmp, "%s,%s", options, o->o_name);
@@ -232,7 +232,7 @@ static char **find_mounts (struct args *args)
static regex_t *get_regex (const char *string)
{
- regex_t *reg = rc_xmalloc (sizeof (regex_t));
+ regex_t *reg = xmalloc (sizeof (regex_t));
int result;
char buffer[256];