summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r--perl-install/devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index ce3a159a3..aa65204ed 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -170,7 +170,7 @@ sub part_prefix {
sub prefix_for_dev {
my ($dev) = @_;
- $dev . ($dev =~ /\d$/ 'p' : '');
+ $dev . ($dev =~ /\d$/ ? 'p' : '');
}
sub should_prefer_UUID {