From 588154e27b7907ff9d6d75a2f8e4c4828f1a1aff Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Mon, 24 Sep 2001 20:01:29 +0000 Subject: [PATCH] Don't try to access external files from SKI unless we are actually running in SKI. --- sys/ia64/ia64/sscdisk.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/ia64/ia64/sscdisk.c b/sys/ia64/ia64/sscdisk.c index 8e473ad9cc4c..02a24ffb3393 100644 --- a/sys/ia64/ia64/sscdisk.c +++ b/sys/ia64/ia64/sscdisk.c @@ -288,6 +288,9 @@ ssc_clone (void *arg, char *name, int namelen, dev_t *dev) static void ssc_drvinit(void *unused) { + if (!ia64_running_in_simulator()) + return; + ssccreate(-1); }