diff options
author | Karel Zak | 2018-05-25 13:20:22 +0200 |
---|---|---|
committer | Karel Zak | 2018-06-21 13:07:46 +0200 |
commit | 53c74b700c2c96137281295e5c1c3c04e6a5ddcf (patch) | |
tree | 6e3bf69b55d72663056b8c82f4f7cccf45227e25 /lib/path.c | |
parent | lscpu: use new ul_path_* API (diff) | |
download | kernel-qcow2-util-linux-53c74b700c2c96137281295e5c1c3c04e6a5ddcf.tar.gz kernel-qcow2-util-linux-53c74b700c2c96137281295e5c1c3c04e6a5ddcf.tar.xz kernel-qcow2-util-linux-53c74b700c2c96137281295e5c1c3c04e6a5ddcf.zip |
lib/path: simplify debug message
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/path.c')
-rw-r--r-- | lib/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/path.c b/lib/path.c index 9f351ed05..d35262b89 100644 --- a/lib/path.c +++ b/lib/path.c @@ -296,7 +296,7 @@ int ul_path_open(struct path_cxt *pc, int flags, const char *path) if (!pc) { fd = open(path, flags); - DBG(CXT, ul_debug("opening [%d] '%s'", flags, path)); + DBG(CXT, ul_debug("opening '%s'", path)); } else { int dir = ul_path_get_dirfd(pc); if (dir < 0) @@ -309,7 +309,7 @@ int ul_path_open(struct path_cxt *pc, int flags, const char *path) && pc->redirect_on_enoent(pc, path, &dir) == 0) fd = openat(dir, path, flags); - DBG(CXT, ul_debugobj(pc, "opening [%d] '%s'", flags, path)); + DBG(CXT, ul_debugobj(pc, "opening '%s'", path)); } return fd; } |