diff options
Diffstat (limited to 'util-linux/fdisk_sun.c')
-rw-r--r-- | util-linux/fdisk_sun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/fdisk_sun.c b/util-linux/fdisk_sun.c index e32740dea..3697a69b9 100644 --- a/util-linux/fdisk_sun.c +++ b/util-linux/fdisk_sun.c | |||
@@ -606,7 +606,7 @@ sun_change_sysid(int i, int sys) | |||
606 | "there may destroy your partition table and bootblock.\n" | 606 | "there may destroy your partition table and bootblock.\n" |
607 | "Type YES if you're very sure you would like that partition\n" | 607 | "Type YES if you're very sure you would like that partition\n" |
608 | "tagged with 82 (Linux swap): "); | 608 | "tagged with 82 (Linux swap): "); |
609 | if (strcmp (line_ptr, "YES\n")) | 609 | if (strcmp(line_ptr, "YES") != 0) |
610 | return; | 610 | return; |
611 | } | 611 | } |
612 | switch (sys) { | 612 | switch (sys) { |