summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2012-08-12 04:38:53 (GMT)
committerH. Peter Anvin <hpa@linux.intel.com>2012-08-12 04:38:53 (GMT)
commitb0335cc6b9617f17acda2498842f6764a0349ae0 (patch)
treea134e0fc681e04ff1b01500de7cc23af585bb52c
parent65cb695173f7707a8b776d11d7c4e915b31b0ab2 (diff)
downloadabc80sim-b0335cc6b9617f17acda2498842f6764a0349ae0.zip
abc80sim-b0335cc6b9617f17acda2498842f6764a0349ae0.tar.gz
abc80sim-b0335cc6b9617f17acda2498842f6764a0349ae0.tar.bz2
abc80sim-b0335cc6b9617f17acda2498842f6764a0349ae0.tar.xz
disk/ -> abcdisk/
-rw-r--r--disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/disk.c b/disk.c
index 6ac49db..b5b8b24 100644
--- a/disk.c
+++ b/disk.c
@@ -122,7 +122,7 @@ static void disk_init(struct ctl_state *state)
/* If any of these don't exist we simply report device not ready */
for (i = 0; i < 8; i++) {
- snprintf(filename, sizeof filename, "disk/%s%d", state->name, i);
+ snprintf(filename, sizeof filename, "abcdisk/%s%d", state->name, i);
state->files[i] = fopen(filename, "r+b");
if (!state->files[i])
state->files[i] = fopen(filename, "rb"); /* Try open readonly */