Package: qemu
Version: 0.6.1-1
Severity: minor
Tags: patch

Running qemu-make-debian-root with the incorrect number of arguments
outputs a usage statement:

Usage: %s [-k] size-in-MB distrib deburl image [files_to_copy_in_/root]
eg %s 150 sid http://proxy:10000/debian qemu

This probably shouldn't read %s, but instead the command called, the
attached patch fixes this.

Micah

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages qemu depends on:
ii  bochsbios     2.1.1+20041109-3           BIOS for the Bochs emulator
ii  libc6         2.3.2.ds1-20               GNU C Library: Shared libraries an
ii  libsdl1.2debi 1.2.7+1.2.8cvs20041007-4.1 Simple DirectMedia Layer
ii  sharutils     1:4.2.1-13                 shar, unshar, uuencode, uudecode
ii  vgabios       0.4c+20041014-1            VGA BIOS software for the Bochs an
ii  zlib1g        1:1.2.2-4                  compression library - runtime

-- no debconf information
--- /tmp/qemu-make-debian-root  2005-04-06 23:10:35.332746032 -0500
+++ /usr/sbin/qemu-make-debian-root     2005-04-06 23:09:48.839814032 -0500
@@ -9,7 +9,7 @@
 fi
 
 if [ $# -lt 4 ]; then
-    echo Usage: "%s [-k] size-in-MB distrib deburl image 
[files_to_copy_in_/root]" >&2
+    echo Usage: "$0 [-k] size-in-MB distrib deburl image 
[files_to_copy_in_/root]" >&2
     echo "eg %s 150 sid http://proxy:10000/debian qemu" >&2
     exit 1
 fi

Reply via email to