Module Name: src
Committed By: christos
Date: Sat Feb 1 17:17:58 UTC 2025
Modified Files:
src/usr.bin/ldd: ldd.1
Log Message:
correct explanation of %a
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/ldd/ldd.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/ldd/ldd.1
diff -u src/usr.bin/ldd/ldd.1:1.25 src/usr.bin/ldd/ldd.1:1.26
--- src/usr.bin/ldd/ldd.1:1.25 Sat Feb 1 10:51:50 2025
+++ src/usr.bin/ldd/ldd.1 Sat Feb 1 12:17:58 2025
@@ -1,4 +1,4 @@
-.\" $NetBSD: ldd.1,v 1.25 2025/02/01 15:51:50 kre Exp $
+.\" $NetBSD: ldd.1,v 1.26 2025/02/01 17:17:58 christos Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -70,12 +70,11 @@ The following conversions can be used:
.Bl -tag -width Ds -offset indent
.
.It Li %a
-The main program's name, either set from the
-.Xr elf 5
-auxiliary vector entry
-.Dv AT_SUN_EXECNAME
-passed from the kernel to the dynamic linker,
-or from the first element of the argument vector.
+The main program's absolute path, constructed either from the exact argument
+passed to
+.Nm
+if it is an absolute path, or having the current working path prepended to
+it if not.
.
.It Li \&%A \" NB: .%A is a mdoc macro name
The program name from the argument vector.