diff options
Diffstat (limited to 'build/parsePrep.c')
-rw-r--r-- | build/parsePrep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c index bfef32570..54877fb46 100644 --- a/build/parsePrep.c +++ b/build/parsePrep.c @@ -434,7 +434,7 @@ static rpmRC doPatchMacro(rpmSpec spec, const char *line) if (strstr(line+6, " -P") == NULL) rasprintf(&buf, "%%patch -P %d %s", INT_MAX, line + 6); /* INT_MAX denotes not numbered %patch */ else - buf = strdup(line); /* it is not numberless patch because -P is present */ + buf = xstrdup(line); /* it is not numberless patch because -P is present */ } poptParseArgvString(buf, &argc, &argv); free(buf); |