sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit e9756bb34ec265594dd354590bd526ca5cc74e05
parent 8b963123113ac2456a41bff38b19b26a4ef42e24
Author: FRIGN <dev@frign.de>
Date:   Thu Apr 23 20:46:41 +0200

tar: Fix remove(3)-error-message

Diffstat:
tar.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tar.c b/tar.c @@ -232,7 +232,7 @@ unarchive(char *fname, ssize_t l, char b[BLKSIZ]) if (!mflag && ((mtime = strtol(h->mtime, &p, 8)) < 0 || *p != '\0')) eprintf("strtol %s: invalid number\n", h->mtime); if (remove(fname) < 0 && errno != ENOENT) - eprintf("unlink %s:", fname); + eprintf("remove %s:", fname); tmp = estrdup(fname); mkdirp(dirname(tmp));