unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob e1b1d3599f841fd0b25f35469aa393a394ce0dd6 721 bytes (raw)
name: gnu/packages/patches/ceph-relative-paths.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
diff --git a/src/common/module.c b/src/common/module.c
index f19f74324c..53355b8185 100644
--- a/src/common/module.c
+++ b/src/common/module.c
@@ -66,7 +66,7 @@ int module_has_param(const char *module, const char *param)
 	char command[128];
 
 	snprintf(command, sizeof(command),
-		 "/sbin/modinfo -F parm %s | /bin/grep -q ^%s:",
+		 "modinfo -F parm %s | grep -q ^%s:",
 		 module, param);
 
 	return run_command(command) == 0;
@@ -76,7 +76,7 @@ int module_load(const char *module, const char *options)
 {
 	char command[128];
 
-	snprintf(command, sizeof(command), "/sbin/modprobe %s %s",
+	snprintf(command, sizeof(command), "modprobe %s %s",
 		 module, (options ? options : ""));
 
 	return run_command(command);

debug log:

solving e1b1d3599f ...
found e1b1d3599f in https://yhetil.org/guix-patches/20210606185204.17617-2-ryan@arctype.co/

applying [1/1] https://yhetil.org/guix-patches/20210606185204.17617-2-ryan@arctype.co/
diff --git a/gnu/packages/patches/ceph-relative-paths.patch b/gnu/packages/patches/ceph-relative-paths.patch
new file mode 100644
index 0000000000..e1b1d3599f

1:12: space before tab in indent.
 	char command[128];
1:13: trailing whitespace.
 
1:14: space before tab in indent.
 	snprintf(command, sizeof(command),
1:17: space before tab in indent.
 		 module, param);
1:18: trailing whitespace.
 
Checking patch gnu/packages/patches/ceph-relative-paths.patch...
Applied patch gnu/packages/patches/ceph-relative-paths.patch cleanly.
warning: squelched 6 whitespace errors
warning: 11 lines add whitespace errors.

index at:
100644 e1b1d3599f841fd0b25f35469aa393a394ce0dd6	gnu/packages/patches/ceph-relative-paths.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).