summaryrefslogtreecommitdiffstats
path: root/sbin/devd
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-12-21 01:00:04 +0000
committerimp <imp@FreeBSD.org>2007-12-21 01:00:04 +0000
commit71f57a2fb12914c8f911e7c4e919c521dd3c6407 (patch)
treef818fba3867f7c88f43f715dd1a7fac93d54b5a6 /sbin/devd
parenta2af805019abffcc98e807aad8c8479ca1172be4 (diff)
downloadFreeBSD-src-71f57a2fb12914c8f911e7c4e919c521dd3c6407.zip
FreeBSD-src-71f57a2fb12914c8f911e7c4e919c521dd3c6407.tar.gz
Minor initialization change to not trigger bogus gcc warning about
passing literal strings to the constructors of string.
Diffstat (limited to 'sbin/devd')
-rw-r--r--sbin/devd/devd.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/devd/devd.hh b/sbin/devd/devd.hh
index a1ee9cd..32d98a2 100644
--- a/sbin/devd/devd.hh
+++ b/sbin/devd/devd.hh
@@ -143,7 +143,7 @@ private:
class config
{
public:
- config() : _pidfile("") { push_var_table(); }
+ config() { _pidfile = ""; push_var_table(); }
virtual ~config() { reset(); }
void add_attach(int, event_proc *);
void add_detach(int, event_proc *);
OpenPOWER on IntegriCloud