File: 05_fix_displayed_full_paths.diff

package info (click to toggle)
mlmmj 1.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,444 kB
  • sloc: ansic: 13,036; sh: 5,950; php: 1,336; perl: 904; makefile: 99
file content (15 lines) | stat: -rw-r--r-- 499 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From: <boll@andariel>
Subject: Changes path of a printf in mlmmj.h to be /usr/bin and
 not /usr/local/bin when printing usages.
Forwarded: not-needed
--- a/include/mlmmj.h
+++ b/include/mlmmj.h
@@ -145,7 +145,7 @@
 #define CHECKFULLPATH(name) if(strchr(name, '/') == NULL) { \
 			errx(EXIT_FAILURE, "All mlmmj binaries have to " \
 			    "be invoked with full path,\n" \
-			    "e.g. /usr/local/bin/%s", name); \
+			    "e.g. /usr/bin/%s", name); \
 			};
 
 #endif /* MLMMJ_GENERIC_INCLUDES */