Переглянути джерело

dpkg-split: Use the correct units (KiB) when referring to partsize

Guillem Jover 17 роки тому
батько
коміт
a3454abb5b
3 змінених файлів з 4 додано та 3 видалено
  1. 1 0
      debian/changelog
  2. 1 1
      dpkg-split/main.c
  3. 2 2
      man/dpkg-split.1

+ 1 - 0
debian/changelog

@@ -6,6 +6,7 @@ dpkg (1.15.3) UNRELEASED; urgency=low
   * Fix dpkg-scanpackages to properly detect spurious overrides.
   * Rewrite dpkg-name in perl.
   * Do not close already closed files in some error conditions in libdpkg.
+  * Use the correct units (KiB) in dpkg-split when referring to partsize.
 
   [ Raphael Hertzog ]
   * Unset TAR_OPTIONS when creating/extracting tar archives for source

+ 1 - 1
dpkg-split/main.c

@@ -122,7 +122,7 @@ static void setpartsize(const struct cmdinfo *cip, const char *value) {
 
   maxpartsize= newpartsize << 10;
   if (maxpartsize <= HEADERALLOWANCE)
-    badusage(_("part size must be at least %dk (to allow for header)"),
+    badusage(_("part size must be at least %d KiB (to allow for header)"),
              (HEADERALLOWANCE >> 10) + 1);
 }
 

+ 2 - 2
man/dpkg-split.1

@@ -141,8 +141,8 @@ Specifies an alternative directory for the queue of parts awaiting
 automatic reassembly. The default is
 .BR /var/lib/dpkg .
 .TP
-.BR \-S ", " \-\-partsize " \fIkbytes\fP"
-Specifies the maximum part size when splitting, in kilobytes (1024
+.BR \-S ", " \-\-partsize " \fIkibibytes\fP"
+Specifies the maximum part size when splitting, in kibibytes (1024
 bytes). The default is 450 KiB.
 .TP
 .BR \-o ", " \-\-output " \fIcomplete-output\fP"