mkdir -Z x d: don't segfault when diagnosing invalid context "x" (tiny change)
authorDaniel Dunbar <daniel@zuster.org>
Tue, 25 Mar 2008 23:51:47 +0000 (00:51 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 25 Mar 2008 23:57:29 +0000 (00:57 +0100)
commit72d052896a9092b811961a8f3e6ca5d151a59be5
tree167375f90c42facec9c79d62d2d3d0372ef256b5
parentf7d1c59c224f81a8bab5fa2afcaf815988f50467
mkdir -Z x d: don't segfault when diagnosing invalid context "x" (tiny change)

* src/mkdir.c (main): Use "scontext", not NULL optarg in diagnostic.
Reported by Cristian Cadar, Daniel Dunbar and Dawson Engler.
* NEWS: Mention the bug fix.
NEWS
src/mkdir.c