aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/net/tramp-smb.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el
index 620c93828da..f35c10b58ab 100644
--- a/lisp/net/tramp-smb.el
+++ b/lisp/net/tramp-smb.el
@@ -1073,10 +1073,11 @@ PRESERVE-UID-GID and PRESERVE-EXTENDED-ATTRIBUTES are completely ignored."
1073 entries)) 1073 entries))
1074 1074
1075 ;; Insert size information. 1075 ;; Insert size information.
1076 (insert 1076 (when full-directory-p
1077 (if avail 1077 (insert
1078 (format "total used in directory %s available %s\n" used avail) 1078 (if avail
1079 (format "total %s\n" used))) 1079 (format "total used in directory %s available %s\n" used avail)
1080 (format "total %s\n" used))))
1080 1081
1081 ;; Print entries. 1082 ;; Print entries.
1082 (mapc 1083 (mapc