aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/registry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/registry.cc')
-rw-r--r--winsup/cygwin/registry.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/registry.cc b/winsup/cygwin/registry.cc
index 1fdf20a..5232188 100644
--- a/winsup/cygwin/registry.cc
+++ b/winsup/cygwin/registry.cc
@@ -18,7 +18,6 @@ details. */
#include "cygheap.h"
#include "tls_pbuf.h"
#include <wchar.h>
-static const char cygnus_class[] = "cygnus";
reg_key::reg_key (HKEY top, REGSAM access, ...): _disposition (0)
{
@@ -84,7 +83,7 @@ reg_key::build_reg (HKEY top, REGSAM access, va_list av)
int res = RegCreateKeyExA (r,
name,
0,
- (char *) cygnus_class,
+ NULL,
REG_OPTION_NON_VOLATILE,
access,
&sec_none_nih,