aboutsummaryrefslogtreecommitdiffstats
path: root/g10/openfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/openfile.c')
-rw-r--r--g10/openfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/openfile.c b/g10/openfile.c
index d0be66157..008752fb8 100644
--- a/g10/openfile.c
+++ b/g10/openfile.c
@@ -78,7 +78,7 @@ overwrite_filep( const char *fname )
return 1; /* does not do any harm */
#endif
#ifdef HAVE_W32_SYSTEM
- if ( !strcmp ( fname, "/dev/nul" ) )
+ if ( !strcmp ( fname, "nul" ) )
return 1;
#endif
@@ -203,7 +203,7 @@ open_outfile( const char *iname, int mode, IOBUF *a )
if ( opt.dry_run )
{
#ifdef HAVE_W32_SYSTEM
- name = "/dev/nul";
+ name = "nul";
#else
name = "/dev/null";
#endif