diff options
author | Rajeev V. Pillai <rajeevvp@gmail.com> | 2007-10-03 22:39:27 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2007-10-03 22:39:27 +0200 |
commit | 2b00dd6d5491c31434e08434844d068e2aca5f0d (patch) | |
tree | 0c7d0d3a4db16bd8696e161ef647313e3c1027ea /disk-utils/mkfs.cramfs.c | |
parent | 0901c3a4670b8d32c2668b1612cc0fad2a33ce14 (diff) | |
download | util-linux-old-2b00dd6d5491c31434e08434844d068e2aca5f0d.tar.gz |
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/mkfs.cramfs.c')
-rw-r--r-- | disk-utils/mkfs.cramfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c index ca9335a3..b87097a8 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); } |