diff options
| author | Roy Marples <roy@marples.name> | 2007-10-08 11:16:22 +0000 | 
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-10-08 11:16:22 +0000 | 
| commit | cd4bce7e8da691b8be0a88292eee13852b826b7e (patch) | |
| tree | 26ab1fb49a790b8855b0dc60781551896c065931 /src/mountinfo.c | |
| parent | a89ceb7e2c994e2a3907d9c906d99021a6e15788 (diff) | |
| download | openrc-cd4bce7e8da691b8be0a88292eee13852b826b7e.tar.xz | |
Wups, should be xstrdup
Diffstat (limited to 'src/mountinfo.c')
| -rw-r--r-- | src/mountinfo.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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); | 
