ref: 383667cf31ce8a25d038fbb72705e3cbd5e0eb38
parent: e30ad8795f13dd082a2c42011ddabfc484dd56c4
author: cinap_lenrek <[email protected]>
date: Mon Dec 12 15:40:28 EST 2022
auth/*: use /fd/0 instead of #d/0
--- a/sys/src/cmd/auth/asn12rsa.c
+++ b/sys/src/cmd/auth/asn12rsa.c
@@ -39,7 +39,7 @@
if(argc == 1)
file = argv[0];
else
- file = "#d/0";
+ file = "/fd/0";
if((fd = open(file, OREAD)) < 0)
sysfatal("open %s: %r", file);
--- a/sys/src/cmd/auth/asn1dump.c
+++ b/sys/src/cmd/auth/asn1dump.c
@@ -32,7 +32,7 @@
if(argc == 1)
file = argv[0];
else
- file = "#d/0";
+ file = "/fd/0";
if((fd = open(file, OREAD)) < 0)
sysfatal("open %s: %r", file);
--- a/sys/src/cmd/auth/pemdecode.c
+++ b/sys/src/cmd/auth/pemdecode.c
@@ -31,7 +31,7 @@
if(argc == 2)
file = argv[1];
else
- file = "#d/0";
+ file = "/fd/0";
if((fd = open(file, OREAD)) < 0)
sysfatal("open %s: %r", file);
--- a/sys/src/cmd/auth/pemencode.c
+++ b/sys/src/cmd/auth/pemencode.c
@@ -30,7 +30,7 @@
if(argc == 2)
file = argv[1];
else
- file = "#d/0";
+ file = "/fd/0";
if((fd = open(file, OREAD)) < 0)
sysfatal("open %s: %r", file);
--- a/sys/src/cmd/auth/rsa2any.c
+++ b/sys/src/cmd/auth/rsa2any.c
@@ -17,7 +17,7 @@
Attr *a;
if(argc == 0)
- file = "#d/0";
+ file = "/fd/0";
else
file = argv[0];