summaryrefslogtreecommitdiff
path: root/internal/io
diff options
context:
space:
mode:
Diffstat (limited to 'internal/io')
-rw-r--r--internal/io/dlog/dlog.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/io/dlog/dlog.go b/internal/io/dlog/dlog.go
index 5e0c3a1..ff2cef4 100644
--- a/internal/io/dlog/dlog.go
+++ b/internal/io/dlog/dlog.go
@@ -78,7 +78,7 @@ type DLog struct {
// new creates a new DTail logger.
func new(sourceProcess, sourcePackage source.Source) *DLog {
- hostname, err := os.Hostname()
+ hostname, err := config.Hostname()
if err != nil {
panic(err)
}