diff options
author | Karel Zak | 2017-06-02 12:07:36 +0200 |
---|---|---|
committer | Karel Zak | 2017-06-02 12:07:36 +0200 |
commit | 99791a1984f0328aa83cbc055daebc06167599a4 (patch) | |
tree | 900768b0463fa8f26ee0174876d3454dad4945e0 | |
parent | tests: update build-sys test (diff) | |
download | kernel-qcow2-util-linux-99791a1984f0328aa83cbc055daebc06167599a4.tar.gz kernel-qcow2-util-linux-99791a1984f0328aa83cbc055daebc06167599a4.tar.xz kernel-qcow2-util-linux-99791a1984f0328aa83cbc055daebc06167599a4.zip |
lib/pager: use xalloc
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r-- | lib/pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pager.c b/lib/pager.c index b90d6398a..04111bab7 100644 --- a/lib/pager.c +++ b/lib/pager.c @@ -186,7 +186,7 @@ static int has_command(const char *cmd) path = getenv("PATH"); if (!path) goto done; - p = strdup(path); + p = xstrdup(path); if (!p) goto done; |