From cd4bce7e8da691b8be0a88292eee13852b826b7e Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 8 Oct 2007 11:16:22 +0000 Subject: Wups, should be xstrdup --- src/mountinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mountinfo.c') diff --git a/src/mountinfo.c b/src/mountinfo.c index 25e83ca5..58a70b3e 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 = strdup (o->o_name); + options = xstrdup (o->o_name); else { char *tmp = NULL; asprintf (&tmp, "%s,%s", options, o->o_name); -- cgit v1.2.3