summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlum <lum@openbsd.org>2019-06-27 16:13:01 +0000
committerlum <lum@openbsd.org>2019-06-27 16:13:01 +0000
commit621085b1ac0621ddf196a210365ca37e94a1fc02 (patch)
tree08e0171188f8f315ceccb5f9024925ee7aa7b607
parentThis diff uses the existing filename as the new filename if none is (diff)
downloadwireguard-openbsd-621085b1ac0621ddf196a210365ca37e94a1fc02.tar.xz
wireguard-openbsd-621085b1ac0621ddf196a210365ca37e94a1fc02.zip
Print out message after copying a file.
-rw-r--r--usr.bin/mg/dired.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mg/dired.c b/usr.bin/mg/dired.c
index 6017b5684ee..3770eb21472 100644
--- a/usr.bin/mg/dired.c
+++ b/usr.bin/mg/dired.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dired.c,v 1.87 2019/06/27 16:08:12 lum Exp $ */
+/* $OpenBSD: dired.c,v 1.88 2019/06/27 16:13:01 lum Exp $ */
/* This file is in the public domain. */
@@ -489,6 +489,8 @@ d_copy(int f, int n)
return (ret);
if ((bp = refreshbuffer(curbp)) == NULL)
return (FALSE);
+
+ ewprintf("Copy: 1 file");
return (showbuffer(bp, curwp, WFFULL | WFMODE));
}