]> Zhao Yanbai Git Server - minix.git/commit
loadramdisk: bug fix for bad fprintf() format 31/731/5
authorThomas Cort <tcort@minix3.org>
Sat, 10 Aug 2013 16:47:35 +0000 (12:47 -0400)
committerGerrit Code Review <gerrit@gerrit>
Thu, 15 Aug 2013 07:48:35 +0000 (09:48 +0200)
commit1e70f9f0b392f7cff1679a4c029222e8400afbe5
tree7a718c1a7e75af255c816571db6ef56e546dd9d0
parentd06d9df7af238391c59cff4c164b2cb6293cf755
loadramdisk: bug fix for bad fprintf() format

An fprintf() has two %s formats but only one additional argument.

Include the name of the device file in the fprintf() call to
balance the arguments and format.

Change-Id: I62e702cf0bc9935897c2f85b0acc3b62b41d654a
commands/loadramdisk/loadramdisk.c