diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-08-20 07:40:10 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-08-20 07:40:49 -0400 |
commit | 0fccfd92e7de1c339cfa11d40f3c51969424a4c3 (patch) | |
tree | a855058f0dd17000ec9ebe4dd87a63043cae3c1e /scanmacho.c | |
parent | build: refresh autotool regen logic for git (diff) | |
download | pax-utils-0fccfd92e7de1c339cfa11d40f3c51969424a4c3.tar.gz pax-utils-0fccfd92e7de1c339cfa11d40f3c51969424a4c3.tar.bz2 pax-utils-0fccfd92e7de1c339cfa11d40f3c51969424a4c3.zip |
avoid using \n with warn macros
These already append a newline for us, so don't want two of them.
Diffstat (limited to 'scanmacho.c')
-rw-r--r-- | scanmacho.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scanmacho.c b/scanmacho.c index f8c4d89..ee713f9 100644 --- a/scanmacho.c +++ b/scanmacho.c @@ -472,8 +472,8 @@ static int scanmacho_dir(const char *path) continue; len = (pathlen + 1 + strlen(dentry->d_name) + 1); if (len >= sizeof(buf)) { - warnf("Skipping '%s': len > sizeof(buf); %lu > %lu\n", path, - (unsigned long)len, (unsigned long)sizeof(buf)); + warnf("Skipping '%s': len > sizeof(buf); %zu > %zu", + path, len, sizeof(buf)); continue; } snprintf(buf, sizeof(buf), "%s%s%s", path, (path[pathlen-1] == '/') ? "" : "/", dentry->d_name); |