Whamcloud - gitweb
libext2fs: Replace use of sprintf with strcpy/strcat to help SILO
authorTheodore Ts'o <tytso@mit.edu>
Fri, 22 Aug 2008 14:37:18 +0000 (10:37 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 22 Aug 2008 14:37:18 +0000 (10:37 -0400)
commit2d40a91e171ec1cfb6bb80a0e788e0740bb1d747
tree9da736d53e380480d16e37615ff701eb7c2ba24d
parent88dbf8287f831d02e8d5023be4f9b42ca224fb75
libext2fs: Replace use of sprintf with strcpy/strcat to help SILO

Some bootloaders, like SILO, don't provide sprintf in their limited
bootloader environment.  Since the uses in rw_bitmaps.c is only doing
sprintf("foo %s"), it's easy to replace that usage with strcpy/strcat.

Addresses-Sourceforge-Bug: #2049120

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/initialize.c
lib/ext2fs/rw_bitmaps.c