summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.go b/src/main.go
index 6a6fa5d..e6676ef 100644
--- a/src/main.go
+++ b/src/main.go
@@ -603,7 +603,7 @@ func main() {
}
_, err := os.Stat(srcFile)
if err != nil {
- fmt.Fprintf(os.Stderr, "%s: error: failed to stat file '%s'.\n", progname, srcFile)
+ fmt.Fprintf(os.Stderr, "%s: error: %s.\n", progname, err)
os.Exit(1)
}
assemFile := srcFile[:len(srcFile) - 6] + ".s"