summaryrefslogtreecommitdiff
path: root/libdiskfs/boot-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/boot-parse.c')
-rw-r--r--libdiskfs/boot-parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/boot-parse.c b/libdiskfs/boot-parse.c
index e39a18cf..4403fcfe 100644
--- a/libdiskfs/boot-parse.c
+++ b/libdiskfs/boot-parse.c
@@ -82,9 +82,9 @@ diskfs_parse_bootargs (int argc, char **argv)
if (diskfs_bootflags & RB_ASKNAME)
{
char *tmp;
- printf ("Bootstap filesystem device name [%s]: ", devname);
+ printf ("Bootstrap filesystem device name [%s]: ", devname);
fflush (stdout);
- scanf ("%a\n", &tmp);
+ scanf ("%as\n", &tmp);
if (*tmp)
devname = tmp;
}