mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdev: use libutil provided path functions
Closes: #20 Signed-off-by: Rafael Fonseca <r4f4rfs@gmail.com> Acked-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
This commit is contained in:
committed by
Michael Holzheu
parent
df133846b5
commit
d542138868
+3
-1
@@ -10,6 +10,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "lib/util_path.h"
|
||||
|
||||
#include "blkinfo.h"
|
||||
#include "ccw.h"
|
||||
#include "device.h"
|
||||
@@ -622,7 +624,7 @@ exit_code_t select_by_path(struct select_opts *select,
|
||||
struct ptrlist_node *p;
|
||||
exit_code_t rc;
|
||||
|
||||
if (!path_exists(path)) {
|
||||
if (!util_path_exists(path)) {
|
||||
err_t_print(err, "Path not found: %s\n", path);
|
||||
return EXIT_DEVICE_NOT_FOUND;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user