aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/cstyle.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/cstyle.pl b/scripts/cstyle.pl
index 06bce77bd..015a6fb09 100755
--- a/scripts/cstyle.pl
+++ b/scripts/cstyle.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
#
# CDDL HEADER START
#
@@ -51,6 +51,7 @@
#
require 5.0;
+use warnings;
use IO::File;
use Getopt::Std;
use strict;