[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAbOSckQ3rsbbkn7XDiKNS2bMLWtHDsewmPyoqGDomp5-ve6DQ@mail.gmail.com>
Date: Wed, 21 Aug 2013 00:49:20 -0400
From: Mike Frysinger <vapier@...omium.org>
To: Josh Triplett <josh@...htriplett.org>
Cc: linux-kernel@...r.kernel.org, Len Brown <len.brown@...el.com>,
Mark Asselstine <mark.asselstine@...driver.com>
Subject: Re: [PATCH v2 6/8] turbostat: Factor out common function to open file
and exit on failure
On Tue, Aug 20, 2013 at 8:20 PM, Josh Triplett <josh@...htriplett.org> wrote:
> +FILE *fopen_or_die(const char *path, const char *mode)
> +{
> + FILE *filep = fopen(path, "r");
not a big deal, but would be nice to add the "e" flag
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists