1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/shells/rush/fix-format-security-error.patch

13 lines
368 B
Diff
Raw Normal View History

2016-11-15 13:33:56 +00:00
diff -Nur rush-1.8.orig/lib/wordsplit.c rush-1.8/lib/wordsplit.c
--- rush-1.8.orig/lib/wordsplit.c 2016-08-18 20:11:43.000000000 +0200
+++ rush-1.8/lib/wordsplit.c 2016-11-14 14:37:02.976177414 +0100
@@ -2330,7 +2330,7 @@
break;
default:
- wsp->ws_error (wordsplit_strerror (wsp));
+ wsp->ws_error ("%s", wordsplit_strerror (wsp));
}
}