From: Karel Zak Date: Fri, 25 May 2018 11:20:22 +0000 (+0200) Subject: lib/path: simplify debug message X-Git-Tag: v2.33-rc1~178 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53c74b700c2c96137281295e5c1c3c04e6a5ddcf;p=thirdparty%2Futil-linux.git lib/path: simplify debug message Signed-off-by: Karel Zak --- diff --git a/lib/path.c b/lib/path.c index 9f351ed05f..d35262b891 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; }