Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fwsetup-ng.git;a=commitdiff;h=31f655ec982ee777d51c39262ebd68bd2a3f92f3
commit 31f655ec982ee777d51c39262ebd68bd2a3f92f3 Author: James Buren <[email protected]> Date: Tue Oct 16 20:25:44 2012 -0500 small touchup to DOS disk_flush diff --git a/src/block.c b/src/block.c index a1c96be..74398d5 100644 --- a/src/block.c +++ b/src/block.c @@ -834,12 +834,12 @@ extern bool disk_flush(struct disk *disk) for( ; j > 1 ; --j ) { - snprintf(command+n,_POSIX_ARG_MAX-n,"0 0 0x0 -\\n"); + snprintf(command+n,_POSIX_ARG_MAX-n,"0 0 0x00 -\\n"); n = strlen(command); } - snprintf(command+n,_POSIX_ARG_MAX-n,"%lld %lld 0x%hhx %c\\n", + snprintf(command+n,_POSIX_ARG_MAX-n,"%lld %lld 0x%.2hhx %c\\n", part->start, part->size, part->dostype, _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
