summaryrefslogtreecommitdiffstats
path: root/disk-utils
diff options
context:
space:
mode:
authorRajeev V. Pillai2007-10-03 22:39:27 +0200
committerKarel Zak2007-10-03 22:39:27 +0200
commit2b00dd6d5491c31434e08434844d068e2aca5f0d (patch)
tree0c7d0d3a4db16bd8696e161ef647313e3c1027ea /disk-utils
parentsetarch: fix compiler warning (diff)
downloadkernel-qcow2-util-linux-2b00dd6d5491c31434e08434844d068e2aca5f0d.tar.gz
kernel-qcow2-util-linux-2b00dd6d5491c31434e08434844d068e2aca5f0d.tar.xz
kernel-qcow2-util-linux-2b00dd6d5491c31434e08434844d068e2aca5f0d.zip
pg: fix segfault on search
Run pg(1) and type '/<CR>' which is supposed to forward search for the previously remembered search string. pg(1) will segfault after printing "No remembered search string:". Signed-off-by: Rajeev V. Pillai <rajeevvp@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils')
-rw-r--r--disk-utils/mkfs.cramfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c
index ca9335a37..b87097a8a 100644
--- a/disk-utils/mkfs.cramfs.c
+++ b/disk-utils/mkfs.cramfs.c
@@ -895,7 +895,7 @@ int main(int argc, char **argv)
if (fslen_ub < offset) {
fprintf(stderr,
_("not enough space allocated for ROM image "
- "(%Ld allocated, %d used)\n"),
+ "(%lld allocated, %d used)\n"),
fslen_ub, offset);
exit(8);
}