diff --git a/slurm/spank.h b/slurm/spank.h
index 404d5b16ebbba63b0f96758f2141c971b4411c24..c632c23644b9991f02c40d328aa57fc122a41376 100644
--- a/slurm/spank.h
+++ b/slurm/spank.h
@@ -169,8 +169,8 @@ END_C_DECLS
  *   loader.
  */
 #define SPANK_PLUGIN(__name, __ver) \
-    const char plugin_name [] = "__name"; \
-    const char plugin_type [] = "spank/__name"; \
+    const char plugin_name [] = #__name; \
+    const char plugin_type [] = "spank"; \
     const unsigned int plugin_version = __ver;