no /fd/
diff --git a/src/cmd/jpg/toico.c b/src/cmd/jpg/toico.c
index da00296..536b64f 100644
--- a/src/cmd/jpg/toico.c
+++ b/src/cmd/jpg/toico.c
@@ -77,7 +77,7 @@
 	/* read in all the images */
 	initdraw(0, nil, nil);
 	if(argc < 1){
-		readicon("/fd/0");
+		readicon("/dev/stdin");
 	} else {
 		for(i = 0; i < argc; i++)
 			readicon(argv[i]);
diff --git a/src/cmd/strings.c b/src/cmd/strings.c
index 19ed8b7..6e7748b 100644
--- a/src/cmd/strings.c
+++ b/src/cmd/strings.c
@@ -21,7 +21,7 @@
 
 	Binit(&fout, 1, OWRITE);
 	if(argc < 2) {
-		stringit("/fd/0");
+		stringit("/dev/stdin");
 		exits(0);
 	}