summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormd@Linux.IT <md@Linux.IT>2005-02-06 01:01:29 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:24:20 -0700
commitfd3eeb7502d9ed52569bdb3e01a50ecbc132035e (patch)
tree56a1690ea4bc7a3eb631a230b5bded7a43af059b
parent0c50db890e838b6fa21708836af93ea736fc047d (diff)
[PATCH] scsi_id: when udevstart is started, /tmp is not writeable.
-rw-r--r--extras/scsi_id/scsi_id.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/scsi_id/scsi_id.c b/extras/scsi_id/scsi_id.c
index d2155e6866..f45563d1b3 100644
--- a/extras/scsi_id/scsi_id.c
+++ b/extras/scsi_id/scsi_id.c
@@ -44,8 +44,8 @@
/*
* temporary names for mknod.
*/
-#define TMP_DIR "/tmp"
-#define TMP_PREFIX "scsi"
+#define TMP_DIR "/dev"
+#define TMP_PREFIX "tmp-scsi"
/*
* XXX Note the 'e' (send output to stderr in all cases), and 'c' (callout)